Archived

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

level10boy

Gimballock

Recommended Posts

level10boy    122
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
level10boy    122
Just trying to rotate a craft around all three axis at the same time. This is OK but when I go to translate the object again things behave very strange. Just want a fix.

Share this post


Link to post
Share on other sites
Psybr    122
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
atreyu    122
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