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.

Author
Message
Cloud Strife
22
Years of Service
User Offline
Joined: 13th Sep 2003
Location: Japan
Posted: 13th Sep 2003 12:08 Edited at: 13th Sep 2003 12:15
I need to rotate xy and z, by the world axis (not object axis). How can I?
Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 13th Sep 2003 14:56 Edited at: 13th Sep 2003 14:59
xrotate, yrotate, and zrotate object. They all rotate around the world axis. I've just recently got my head round this, but as local as the rotations appear to be, they are actually world axis rotations.

Ooops Edit: But it won't help you, because xrotation will act as a local rotation, so you wont be able to rotate around the worlds x-axis if you're yrotating. Its not possible. Also you wont be able to rotate around the worlds y-axis if you're performing any zrotation. Strictly speaking those rotations will be world axis rotations, but they wont behave as you expect because of the way the rotation is handled. I must admit, it does seem useless to me.

Insiiiiiiiiiiiiiiiiiiiiiiiide!
wargamer
23
Years of Service
User Offline
Joined: 7th Jan 2003
Location: United Kingdom
Posted: 15th Sep 2003 16:45
Genuine global rotates are not directly supported, although if the rotation order is XYZ, the X is a pure global rotation and the Z is pure body axis rotation (and vice versa). I'm sure it's not beyond the wit of the average A level maths student to work out the 3D maths!

You can do pure body rotations using TURN, PITCH and ROLL. Also see my later post on Patch 5 bugs on rotations.

AMD Athlon 1600+, 512MB, GeForce 3

Login to post a reply

Server time is: 2026-07-26 05:02:08
Your offset time is: 2026-07-26 05:02:08