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 Professional Discussion / World axis rotation instead of local? why?

Author
Message
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 14th Mar 2004 02:08
Why when you rotate an object (.x) does it rotate it around the world axis instead of its own axis? And does anyone know how to fix it? It is driving me crazy. All I want to do is rotate a door like it is opening from hinges. I even tried rotating the object and then repositioning it back where it was .... but this didn't work as it must change its coordinates too as it just stays where the rotate put it Any Ideas are greatly appreciated.

Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Intel 848P Chipset
Windows XP Pro Full
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 14th Mar 2004 02:27
objects rotate around their center which can be changed in a 3d modeler or by using offset limb and setting the limb # as 0

Ron Erickson
Moderator
22
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 14th Mar 2004 02:29
Check out the plug-in that I released called EZrotate. You can find it in the Program anouncement boards. Your problem is that DB uses Euler angles and that are confusing. My plug-in will take your pain away

Hoooowwwwllll!!!!
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 14th Mar 2004 02:29
Thank you that would explain alot. I will give it a try

Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Intel 848P Chipset
Windows XP Pro Full
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 14th Mar 2004 02:30 Edited at: 14th Mar 2004 02:31
@Wolf I will also check out your plugin

I will take a rest first before my brain explodes.

Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Intel 848P Chipset
Windows XP Pro Full
Ron Erickson
Moderator
22
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 14th Mar 2004 02:30
Oops! I misunderstood your problem. Anyway, you might want to check out the plug-in anyway.

Hoooowwwwllll!!!!

Login to post a reply

Server time is: 2025-06-05 19:15:03
Your offset time is: 2025-06-05 19:15:03