Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Gimbal Lock

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
5 replies to this topic

#1 masonium   Members   

118
Like
Likes
Like

Posted 05 October 2001 - 02:13 PM

what is Gimbal lock? How do I avoid it with Euler angles. BTW, what are Euler angles, exactly?

#2 v71   Banned   

100
Like
Likes
Like

Posted 06 October 2001 - 12:52 AM

Use quaternions insted, the ginbal lock happens when you use 90 degree of rotation , this problem is solved using the complex method as in quaternions, if you look around there is a plenty of examples in the net



#3 TheMummy   Members   

122
Like
Likes
Like

Posted 06 October 2001 - 01:18 AM

The gimbal lock occurs only when you rotate around all three axes and when you reach a 90 degrees and, only when you use Euler rotations.... So you could take the long hard workaround by using quaternions. Or you create your own rotation matrix out of three vertices, which represent your three axes. One of the NeHe tutorials, handles this topic. Or drop me a mail and I will send you the relly easys maths...

#4 bpj1138   Members   

113
Like
Likes
Like

Posted 06 October 2001 - 11:30 AM

I believe gimbal lock occurs when there is an ambigious orientation. I think this is what quaternions try to solve. My favorite representation is the orthogonal basis vector matrix, which is just the "right", "up", and "direction" vectors in the first three rows of the matrix, and finally the "position" vector is the forth row of the matrix. This representation can also fail if you try to compose the "up" vector from the "direction". This is a common mistake when using this representation. The solution is to never compose the "up" vector, but start with an initial direction and up that''s orthogonal, and always rotate _both_ vectors by the same rotation matrix, this insures the objects orientation is preseved.


#5 masonium   Members   

118
Like
Likes
Like

Posted 06 October 2001 - 11:39 AM

Thanks everybody. I thought gimbal lock would crash my comp or something



#6 Timkin   Members   

864
Like
Likes
Like

Posted 07 October 2001 - 04:51 PM

Visit http://www.anticz.com/eularqua.htm for a reasonable explanation of Gimbal lock and its affect on programming.

Timkin




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.