Rotate an objects quaternion to another quaternion at a set speed
Hello, currently I am trying to rotate my objects so it's "feet" point in the direction that I set it to at a specified speed.
so far I have the Objects quaternion, the delta quaternion between the two vectors (object's down, my direction), and I have the resulting quaternion (deltaQuat * ObjectQuat) that if used directily with setworldrotation() will snap the object to the desired position.
What I'm trying to do now is have the rotation happen over time at a specific speed, I've tried using lerp but that does the smooth rotation over a set time every time, 90 deg would be done in the same time as 180 deg.
Your answer
Follow this Question
Related Questions
How to set y rotation of an object to be z rotation of another? 1 Answer
How to use Quaternion.Slerp with transform.LookAt? 3 Answers
How can I make my game object move like this? 0 Answers
how to rotate bullet towards enemydirection? 0 Answers
Rotation on moving using virtual joystick is not working as expected in 3D game. 0 Answers