Answers for "Quaternion.Slerp problem..."
http://answers.unity.com/questions/453656/quaternionslerp-problem.html
The latest answers for the question "Quaternion.Slerp problem..."Answer by fafase
http://answers.unity.com/answers/453679/view.html
Time.time is not what you want there.
Time.time is 1 after 1s meaning that after 1 sec your rotation will occur instantly.
You may want to use `Time.deltaTime * rotSpeed` instead. With `rotSpeed` being there to regulate the speed of rotation.
Also you may want to try something like:
newRot= transform.rotation * Quaternion.Euler(0, 90, 0);
That would avoid all the if and simply add 90 degrees to the existing rotation.
EDIT:
It probably does not do anything because it should be :
newRot= playergraphic.transform.rotation * Quaternion.Euler(0, 90, 0);
playergraphic.transform.rotation = Quaternion.Slerp(playergraphic.transform.rotation, newRot, Time.time * RotSpeed);Fri, 10 May 2013 12:10:43 GMTfafase