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 / Object size

Author
Message
aw2050
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: United Kingdom
Posted: 22nd Mar 2003 16:13 Edited at: 22nd Mar 2003 18:15
When I rotate a cube, the 'object size y' does not change even when it is on its corner. I must have the wrong command here, and the trigonometry would be really hard because I'm actually trying to rotate a cone. I want the object to be only just touching the ground, so i would change its 'y position' according to its 'y size'. I'm stuck, and nearly throwing my head through the monitor!
Please save my computer and me!
aw2050
PiratSS
21
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 23rd Mar 2003 03:46
Y size shouldn't change.

You are not scaling an object, you are rotating it.

I would do something like this:

When I rotate an object(ex: 10), I would add like 3 to Y.(This is a bad way)
So:
10-3
20-6
45-9
65-6
80-3


Cheers.

Current project for RGT:

ALL MY STUFF ARE GONE!! ALL OF IT!!!
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 23rd Mar 2003 06:47
rooooooootate

scaaaaaaaaale

Darken the skies, we are god
aw2050
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: United Kingdom
Posted: 23rd Mar 2003 13:54
Surely if the cube is at diagonals:
/\
\/
its height will be larger than if it is not:
_
|_|

pls explain: is the y-size only for when it is not rotated?
Dr DooMer
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 24th Mar 2003 04:38
The values returned by those commands reflect the size of the unrotated object, that's why it doesn't change. You see, if you rotate an object 90 degrees on the X or Z axis, you also affect the Y axis of the object in the same way that you affect the physical object.

You might be able to get around this by the "fix object pivot" command. However, I had a few problems with the object size commands a while back, so this might not solve your problems.

The trigonometry can't be that hard; I'm actually quite good with trig - if you can't solve it yourself, I'll have a go for you, if you like.

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: 2024-09-20 01:00:22
Your offset time is: 2024-09-20 01:00:22