- Home /
Torque towards Quaternion.
One thing that boggles my mind is how I could apply an angular force towards a given Quaternion.. It's been a long day and I can't think anymore.. Anyone have any ideas on how I could do this?
Well, a quaternion isn't exactly an absolute rotation in itself. It describes the difference between two rotations in a way that avoids gimbal-lock. In any case, you probably want some kind of damping algorithm- I assume you want it to slow down and stop at the correct value?
Yes, but setting the rotation seems to make the simulation less smooth. I have had the most success setting all the vectors using forces and velocities only, now I just have to focus on rotation.
Your answer
Follow this Question
Related Questions
2D Rotation of a Sprite - Quaternion.FromToRotation Smooth 1 Answer
Determining the torque needed to rotate an object to a given rotation 8 Answers
Rotate towards target around axis with limits 0 Answers
Rotation quaternion to angular velocity 2 Answers
New to Unity: Trying to (loosely) simulate animal flight with separate buttons for each wing... 0 Answers