Image tracking and cameras

Hello

I have a requirement to show only the front side of a 3d model when the camera captures an image of the target, for example a cube where no matter what angle I rotate, I only see the front side and not the other sides.

Hope to get a reply

Thanks

You can take a look at this repo: https://github.com/zappar-xr/aframe-example-image-tracking-animation-from-gaze.git
and create a logic to move the cube based on the raycaster gaze.

1 Like

Hi @mihir, thanks for your reply

But I’m not quite sure how to move the cube to achieve the effect I’ve described above, can you provide a little code snippet?