Overview: |
It seems like a rather simple challenge: apply a spring to a quaternion so that it smoothly rotates between different orientations. However, most simple approaches will fail, creating oddly curved trajectories or failing under large forces. This is a common behavior that many games might need for targeting, animation, and physics. Why is this so challenging?nnIn this talk, we will do a deep dive into the creation of a mathematically accurate quaternion spring. We'll learn how to take the derivative of a quaternion, explore concepts such as the swing-twist decomposition, and emerge on the other side with a fully working quaternion spring implementation, fit to be dropped into any game project.nnThe math isn't all that complex, and plus, visualizing the 4th dimension is a ton of fun!
|