Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Rotation Order

Author
Message
blob0618
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 30th Mar 2009 18:43
Iam trying to convert a quaternion angle to a euler angle. I found a conversion formula here: http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/index.htm, but that isn't working properly. After some questioning, I founnd out that it might have to do with the rotation order of the euler angles in Dark GDK. So, I have this question:

What is the rotation order of Euler angles in Dark GDK?

Thanks in advance!

Keep Dreaming
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 30th Mar 2009 20:43
OK, it may be easier to convert to matrix, or just use matrix straight off, depending on what you are doing.
http://darkgdk.wikia.com/wiki/DbSetObjectWorldMatrix
hidden function
blob0618
15
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 31st Mar 2009 04:29
Perfect! This circumenvents a whole lot of work. I was planing on converting it to a matrix anyway, but this is significantly easier. Thanks!

Keep Dreaming

Login to post a reply

Server time is: 2024-09-30 21:20:21
Your offset time is: 2024-09-30 21:20:21