Open KnightCoder opened 4 years ago
I noticed a transform.orientTo
method. I even tried this it turned the model but it didn't animate the turning.
Is this method correct? If yes, how can I make it animate the turn? Can you please give a short example?
Lets say that I've a model of an animal and the user rotates the animal in any direction but once the user clicks a button "Turn to show face" the 3D model should animate turning to show the animal's face, no matter in which angle it was rotated previously by the user.
How can I achieve this? Is there a function/property where we can set lets say the absolute angle (not relative angle) value?