The White Mesh bellow Clips through the roof and the further you move the object, the worse it gets.
Piotr Adam Milewski answered this question, from another person and gave this solution: https://stackoverflow.com/a/63143382/18310645 But i don't understand a thing about coding so i don't know how to implement it in my code, can someone help me?
Here is my code:
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin: 0px; overflow: hidden">
<a-scene embedded arjs>
<a-marker preset="hiro">
<a-entity
position="0 0 0"
scale="0.2 0.2 0.2"
gltf-model="https://cdn.glitch.global/0653babd-a1b3-490a-9927-4d95dd7c9ffa/Capela%20das%20Penhas.glb?v=1645748288220"
></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>