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 / Object doesn't rotate properly?

Author
Message
Da_Rhyno
15
Years of Service
User Offline
Joined: 25th May 2011
Location:
Posted: 8th Oct 2011 04:57
Hi all! For some reason my object won't rotate correctly around the Z axis (it won't rotate at all!) when I set this?

Any help would be appreciated! Thanks

Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 8th Oct 2011 05:58
ROTATE OBJECT 1, y_angle, 0, 0

command syntax is ROTATE OBJECT obj_num, x, y , z

You set the z angle to zero

Da_Rhyno
15
Years of Service
User Offline
Joined: 25th May 2011
Location:
Posted: 8th Oct 2011 06:02 Edited at: 8th Oct 2011 06:07
No, that rotation works fine...

It's the first one I do to align the object correctly.

Frick... Sorry... I keep forgetting that the values of the object aren't static. You're right. I apologize.

This can be closed.
alex_audi
15
Years of Service
User Offline
Joined: 29th Mar 2011
Location:
Posted: 25th Oct 2011 16:34
when I create an animation in 3ds max where a box that rotates on z axis, in db pro I see the box that rotates on y axis ????
And this should be a serious program?

see file attached

After burner 3d owner.
try my last game:
http://digilander.libero.it/TequilaBomBom/spinblade.zip
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Oct 2011 19:12
Quote: "when I create an animation in 3ds max where a box that rotates on z axis, in db pro I see the box that rotates on y axis ????And this should be a serious program?"


That's problably because you shoul have to mark/unmark lefthanded when export from 3DMax.


Cheers.

I'm not a grumpy grandpa

Login to post a reply

Server time is: 2026-07-10 20:11:27
Your offset time is: 2026-07-10 20:11:27