Sign in to follow this  

Quaternion roll jerkiness

This topic is 4177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I am in the process of making my fps camera work as a 3rd person one as well. I am using euler angles and quaternions to handle my yaw, pitch and roll. I make quaternions out of the world x and y axes and use the camera's view vector as the z axis and I rotate about those using euler angles. Next I handle position changes by moving along the view vector, up or right vector. I'm running into a slight jerk when I simply roll my camera then move my camera (even just along the view vector), when I go to roll the camera again. Looks like the angles are off or the rotation vector is now wrong. Do I need to keep multiple rotation axes and angles for each roll I apply to the camera (I'd like to avoid this)? Am I supposed to recalculate the euler angle and how?

Share this post


Link to post
Share on other sites

This topic is 4177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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