Search found 4 matches

by Squirrel
Fri Dec 28, 2012 4:05 pm
Forum: Beginners Help
Topic: Gimbal lock and quaternion rotation issue
Replies: 9
Views: 4215

Re: Gimbal lock and quaternion rotation issue

Just in case of someone else would make the same mistake that I made :

If I understood correctly the math explanations I just read about rotations using quaternions, I think that I made a mistake doing a direct multiplication of the quaternions.
The right way seems to be to use a quaternion to ...
by Squirrel
Thu Dec 27, 2012 10:12 am
Forum: Beginners Help
Topic: Gimbal lock and quaternion rotation issue
Replies: 9
Views: 4215

Re: Gimbal lock and quaternion rotation issue

Thank you for your answers!

@ Abraxas)

So a rotation of (0,0,0) corresponds to a heading of (0,1,0)

This was the missing information!.... where I could expect to go if I hadn't any starting reference?
It's more clear now.

About the wiki pages, i read them many times but even if if think i ...
by Squirrel
Wed Dec 26, 2012 5:34 pm
Forum: Beginners Help
Topic: Gimbal lock and quaternion rotation issue
Replies: 9
Views: 4215

Re: Gimbal lock and quaternion rotation issue

Thank you both!

@smso
I had a matrix function to do objetct's relative rotations but none so far that worked using world space, so this will be very useful. :)

Beyond the usefulness of this one, I really want to understand what's the mistake(s) I made using quartenions.
To multiply two ...
by Squirrel
Wed Dec 26, 2012 9:19 am
Forum: Beginners Help
Topic: Gimbal lock and quaternion rotation issue
Replies: 9
Views: 4215

Gimbal lock and quaternion rotation issue

Hi all,

I'am new to Irrlicht and i'm trying to solve a node rotation issue for about a week.

I searched through the forum and found explanations about the "gimbal lock" problem and a way to avoid it using quaternions.

so, i wrote the following function which works fine except when a node is ...