Page 1 of 1

Flipping an object around?

Posted: Tue Jun 21, 2005 12:12 am
by 0_0_0
I'm wondering how you can turn objects upside-down, or rotate a certain angle.

I've heard of spin, but if I do spin 180 1 0 0, it goes underground and is a pain to position.

Is there an easier way?

Posted: Tue Jun 21, 2005 2:46 am
by ClayOgre
First you spin it. If that places it below ground, just make your next statement a shift statement and shift it UP in Z until it is back above ground.

Take a look at my post in the Works in progress forum for BZ-sketball

http://my.bzflag.org/bb/viewtopic.php?t=4224

There is a more in depth explaination.

Posted: Tue Jun 21, 2005 2:58 am
by 0_0_0
Wow, awesome explenation! :D

Thanks!

Posted: Tue Jun 21, 2005 3:00 am
by trepan
you can also do this instead of rotating it:

Code: Select all

scale 1 1 -1

Posted: Tue Jun 21, 2005 3:04 am
by 0_0_0
Cool, thats alot easier.
Must be the equiv of z-flipping it in bz. :)