Log in or register to post comments

Area Target > Object Orientation.....

May 25, 2021 - 9:22pm #1

I have an area target, which I use to pop up a flat object. 



I want that object to dynamically rotate to face the viewer.

Is this possible?

 

Area Target > Object Orientation.....

May 26, 2021 - 9:01am #3

Nice.

Area Target > Object Orientation.....

May 26, 2021 - 1:12am #2

Yeah, it's possible. You just have to align flat objects transform position/rotation with the transform.position of the ARCamera.

Checkout Quaternion.RotateTowards method.

This one is more suitable for a rotation with slight lag, if you don't want the lag I think there is even a better solution.

Log in or register to post comments