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.

DarkBASIC Discussion / object rotation in DBC

Author
Message
bibz1st
22
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 21st Nov 2004 21:11
is there a way to rotate objects properly without using TURN, ROLL and PITCH.
For instance...

the yrotate bit works but the xrotate always seems to use the cameras position to work out the X ANGLE of the object, is there any way around this. remember, it is for DBC
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 21st Nov 2004 22:09
What orientation do you want to rotate the objects around?

Crazy Donut Productions, Current Project: Project Starbuks
Sony stole our name!
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 21st Nov 2004 22:11
DarkBASIC uses a rotation system called Euler Angles.

All objects are rotated around the global axis from 0 every loop. This means the X rotation looks local but the y and z global.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 22nd Nov 2004 04:20
wha??

So X rotation is local, or just appears to be local but is actually global?

Crazy Donut Productions, Current Project: Project Starbuks
Sony stole our name!
bibz1st
22
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 23rd Nov 2004 04:45
So how do I get around the problem then?
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 23rd Nov 2004 06:19
EZRotate.

Look on the DLL board.

Login to post a reply

Server time is: 2025-05-26 00:45:51
Your offset time is: 2025-05-26 00:45:51