Archived

This topic is now archived and is closed to further replies.

Gimballock

This topic is 5809 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

Anybody know a way around gimballock, which is the effect you get when producing a matrix that rotates around three axis in one go. For example, after rotating a cube around all three axis, up and down just aint what it should be. Thanks

Share this post


Link to post
Share on other sites
maybe you should do the transformations for each axis seperately, although there might be cases where you would want to transform in all three axes simultaneously.

Share this post


Link to post
Share on other sites
If you''re just worried about Gimbal Lock with the camera I have some code in the thread: "I need advice on D3DTS_WORLD transforms" that does the job...If you want to transform *objects* with this method then you''re in the same boat as me. I have no clue why it won''t work correctly.

Email me if you want a copy of my camera class.

Share this post


Link to post
Share on other sites