Blueprint Quaternion Library

No worries! You shouldn’t need to be a math whiz to use rotations.

Not exactly. The order of the axes matters because the first axis will retain its direction, while the other axis is adjusted so that the entire coordinate system remains orthonormal.

This is because each frame you’re using the previous frame’s rotation as input to determine the rotation it should take. If you instead cache a rotation (or basis vectors) you’ll get a more usable result.

This is not gimbal lock, there’s just no way to infer where the other two basis vectors should be, and so it sort of just makes an assumption. Try ZY or ZX for your rotations.

https://i.gyazo.com/6e584523d40f281328534acd37c2ee03.png

(better gif linked )](https://i.gyazo.com/e505a9bf5f924fbbef27a65dde318eb8.mp4)

https://i.gyazo.com/e505a9bf5f924fbbef27a65dde318eb8.gif