How do we rotate the drawable gameObject assigned to the Image Trackable component in Unity. We tried something like this:
trackableObj.GetComponent ().Drawable.GetComponent().eulerAngles = new Vector3 (0, 90, 0);
And the object rotates only after you move the camera off the target and back again.
Basically, how can we rotate the drawable by a mouse action in Unity?
over 3 years ago
I believe that this is more of a Unity specific issue, so maybe you could try searching the Unity Forums or post a question on Unity Answers. For instance, maybe this example could provide some further information on how to rotate the gameObject.