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 / dark basic object size problem...

Author
Message
Shafan
21
Years of Service
User Offline
Joined: 22nd Dec 2003
Location: israel
Posted: 15th Apr 2004 15:48
when i load object the object sizes are not the real size of the model....how i fix it?
thanks...
Battosaibry
21
Years of Service
User Offline
Joined: 6th Nov 2003
Location: United States, Ohio
Posted: 15th Apr 2004 16:22
Youl have to use the scale object command

scale object 1,200,200,200

the 3 200's are the X,Y, and Z sizes of the object. and the number "1" is the number of the object we wish to scale.

Make games play games, hey its a living!
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 15th Apr 2004 16:23 Edited at: 15th Apr 2004 16:25
Unfortunately, there is no "real" size of an object. Every modeler, and every different development package, have different relative sizes. The only way you can fix it is to experiment with scale object, and then use whatever scale is works best for you.

[Edit]Dammit, you posted just as I was typing Battosaibry, good answer though, it's a bit like mine [/Edit]

Its not a bug, its a feature!
Shafan
21
Years of Service
User Offline
Joined: 22nd Dec 2003
Location: israel
Posted: 15th Apr 2004 16:49
thank you two very muchhhhh!!!!
bibz1st
22
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 17th Apr 2004 15:24
If your scaling objects AND using DB's built in collision then be aware of the fact that when you scale an object, its collision size does not get scaled, it stays the original size of the object.
If your using math collision or NG DLL then its not a problem.
rob

Login to post a reply

Server time is: 2025-05-30 12:03:11
Your offset time is: 2025-05-30 12:03:11