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.

Dark GDK / C++ DGK: ? on dbFixObjectPivot ( int iObject )

Author
Message
Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 28th Aug 2009 07:44
If I am right in reading this. Load the model in. Rotate it to the orientation you want and then run "dbFixObjectPivot ( int iObject ) " this changes the orientation from this point on. Such as if the model loaded in backwards. flip into the direction it should be then run this function. If that is not it then what is.

-Thanks Timidon

There are many answers but just one question" ~ Jerilith the Mad
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 28th Aug 2009 08:03
If your model is backwards then rotate it 180 degrees on the Y axis, call this function and your object will now register as being rotated to 0,0,0 degrees; as if your model was loaded correctly.

Timidon
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 28th Aug 2009 09:33
Thank you. Back to coding... programs get complex fast.. sure glad I don't have to try and feed these thing punch cards with little holes in them.
-Timidon

There are many answers but just one question" ~ Jerilith the Mad

Login to post a reply

Server time is: 2024-11-20 17:39:20
Your offset time is: 2024-11-20 17:39:20