Tremulous Forum
Media => Mapping Center => Topic started by: Chomps123 on April 05, 2011, 11:10:41 pm
-
Can someone tell me how to make the func_rotating_door on netradient rotate on the x or y axis
I know how make it rotate on the z axis.
-
Can someone tell me how to make the func_rotating_door on netradient rotate on the x or y axis
Spawnflags:
to rotate around the X-axis, set spawnflag 32
to rotate around the Y-axis, set spawnflag 64
(obviously, don't set both)
-
Thanks a bunch Ingar ;D
-
Just a question for you, Ingar. If you set the spawnflags of BOTH X and Y, would it rotate diagonally or just mess up?
-
Just a question for you, Ingar. If you set the spawnflags of BOTH X and Y, would it rotate diagonally or just mess up?
I have never tested it, I assume the behaviour is undefined, meaning you could expect anything
from funky rotations to crashing the game.
For the sake of science, I did a quick test, set both spawnflags and the door seems to rotate around the X-axis only,
but undefined also means this behaviour could break at any point.