Tracking / Rotating Objects to Phone (Gyroscope?)

HI guys, I’m totally new to the AR world and this forum—it’s amazing!

I’m testing image tracking using the ZapBot tutorial with my business card as the target. I’ve successfully used controllers and states to rotate and move the ZapBot as shown below:

https://zapworksforumuploads.s3-eu-west-1.amazonaws.com/original/1X/fc3d6e1cee0fecd74b6583597aad80bcfa40eccf.mp4

Is it possible to rotate the ZapBot based on the rotation of my device? I’m trying to get the ZapBot to rotate and face me as I move my camera.

Hi there,

Very cool, if you’re looking to have ZapBot rotate to face the camera as you move the target then you can use a billboard group.

Due to the limitation of billboard groups it’s important to place that group within another that correctly set’s the axis of rotation, i’ve attached a simple project to help show the concept.

3D billboard.zpp (13.3 MB)

Hope this helps :slight_smile:

Mark

1 Like

Mark,
Does Billboard Goups work with VideoPlanes? The VideoPlane seems to disappear when I add it to a BillBoard.

thanks,
Russel

Edit: Please disregard. played with it some more. missed the part about placing it in a group first.