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.

Newcomers DBPro Corner / Changing orientation of object

Author
Message
MicroMan
21
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 21st Aug 2003 07:57
I've loaded an object into the game from 3d Studio Max, but the orientation is not right. By that I mean that the front of the object is not the front, but the top is.

That way, when I use move object to move the object forward or backward, the object instead rises and sinks instead.

I suppose I could swap in 3d Studio Max, but I was wondering if there was a way to switch the orientation around in Dark Basic. Doing so could be handy in other situations, apart from the one I find myself in.

Cheers,
MicroMan
zao420
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 21st Aug 2003 08:52
it is either x or y. don't quite remember

xrotate object obj num,90
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 22nd Aug 2003 15:13
Use FIX OBJECT PIVOT after rotating object to desired normal angle

The programmer formerly known as sonic
MicroMan
21
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 23rd Aug 2003 09:01
Thank you! I did figure it out, but it's appreciated.

Now to figure out how to implement FuSM into this language without any object-oriented-code.

Login to post a reply

Server time is: 2024-11-25 04:56:24
Your offset time is: 2024-11-25 04:56:24