johnatm / itween

Automatically exported from code.google.com/p/itween
1 stars 2 forks source link

RotateTo() causes gimbal lock #143

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. complex rotating a Gameobject with RotateTo()
2.
3.

What is the expected output? What do you see instead?
Smooth rotating of the object. Weird turn while rotating, caused by gimbal lock

What version of the product are you using? On what operating system?
newest version, windows

Please provide any additional information below.
Can you make iTween use Quaternions instead of EulerAngles, I can't find the 
code in iTween class that does the rotating so I can't change it myself.

Original issue reported on code.google.com by nickdeke...@gmail.com on 15 Jul 2014 at 3:23