gimbal lock is bad
I think I’m doing this right, if something is wrong please let me know. https://danceswithcode.net/engineeringnotes/quaternions/quaternions.html