Flipping an object around?

Questions and answers about the how and why of making maps.
Post Reply
0_0_0
Private First Class
Private First Class
Posts: 39
Joined: Thu Jan 27, 2005 10:52 pm

Flipping an object around?

Post 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?
User avatar
ClayOgre
Private First Class
Private First Class
Posts: 227
Joined: Mon Apr 18, 2005 3:17 am
Location: Southern Indiana (originally from Alaska)

Post 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.
Respectfully,
I Beg to Remain,
Cordially Yours,
Regards....

Image
0_0_0
Private First Class
Private First Class
Posts: 39
Joined: Thu Jan 27, 2005 10:52 pm

Post by 0_0_0 »

Wow, awesome explenation! :D

Thanks!
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

you can also do this instead of rotating it:

Code: Select all

scale 1 1 -1
0_0_0
Private First Class
Private First Class
Posts: 39
Joined: Thu Jan 27, 2005 10:52 pm

Post by 0_0_0 »

Cool, thats alot easier.
Must be the equiv of z-flipping it in bz. :)
Post Reply