Jump to content
Sign in to follow this  
Maya01

Quaternions and gimbal lock?

Recommended Posts

Hey Houdini people, 

I am currently trying to wrap my head around rotations in Houdini and struggling with gimbal lock. I have an object flying around in space and I want to try and take away all but maybe 50% of the rotation and snap it to the origin. This is fine, but if my object rotates further then 90 degrees, it flips. I know this is due to gimbal lock and I have been trying to understand things better and find a solution. I read that using quaternions can fix gimbal lock but I am not sure how to approach this. I am using them in my file but I seem to be not getting something right, as my object still flips. I would be really grateful if someone could help me with this and explain this to me as I really want to understand what's going on. 

I attached an example file :)

Thank you!

gimbal_lock.hipnc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×