By JackAt360XR
on Wed, 05/26/2021 - 04:22
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?
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?
Yeah, it's possible. You just
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.
Nice.
Nice.