GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
Math In Game Development Summit: Deep Dive: Quaternion Springs
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!
Did you know free users get access to 30% of content from the last 2 years?