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 / object sizes

Author
Message
HKlown
22
Years of Service
User Offline
Joined: 18th Jan 2003
Location: United States
Posted: 25th Mar 2003 01:50
when I scale an object (using SCALE OBJECT objnum,x%,y%,z%), the object's size increases, but OBJECT SIZE X(),OBJECT SIZE Y(), and OBJECT SIZE Z() still return the original size. How do you get around this? Am I just not using the right commands?
Dr DooMer
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 25th Mar 2003 01:54
No, the object size commands will return the size of an unrotated, unscaled, un-anythinged object.

Although, if you know that you've scaled your object by, let's say 40% in each axis, then all you've got to do is multiply each of your object sizes by 0.4 (which, if you didn't know, is the decimal representation of 40%).

Hope this helps!

"I am a living, thinking entity who was created in the sea of information."

Login to post a reply

Server time is: 2025-05-18 15:25:57
Your offset time is: 2025-05-18 15:25:57