Game Development Community

help

by matt hecky · in Marble Blast · 07/26/2009 (1:53 pm) · 3 replies

im making a level that uses anti gravity power ups i need one to go one way and the other to go the opposite way, so basically i need a rotation code (EX: 1 0 0 0) that will turn the anti gravity just upside down. anyone know the code?

About the author


#1
07/26/2009 (11:25 pm)
1 0 0 180

That's assuming the current gravity modifier is at 1 0 0 0 and points upwards.

Other numbers that we usually use:

1 0 0 90
-1 0 0 90
0 1 0 90
0 -1 0 90

Or just press alt and rotate on the axis you need.
#2
07/27/2009 (3:08 pm)
thank you, the codes worked. But will pushing alt work on a mac? (mac os x)
#3
07/28/2009 (11:38 pm)
i dont know mac's equilavent to window's alt or if it works, sorry.

Note that using alt works for shapes only (marble, objects, etc) not interiors as they instantly screw up.