I'm just fiddling around with some basic 3D and to get me started I'm doing a simple overhead shooter with spaceships. Since it's overhead, I want them to maintain a certain height but when they turn, I want them to tilt from side to side. Unfortunately, when I do that, they also change their height. I'm using.......
TurnEntity SpaceShip\Entity,0,Tilt#,0
To tilt them.
And......
MoveEntity SpaceShip\Entity,0,0,SpaceShip\Speed#
To move them forwards.
I've tried simply resetting their height after the movement, but then they start tilting forwards or backwards on strange angles.
What am I doing wrong?
TurnEntity SpaceShip\Entity,0,Tilt#,0
To tilt them.
And......
MoveEntity SpaceShip\Entity,0,0,SpaceShip\Speed#
To move them forwards.
I've tried simply resetting their height after the movement, but then they start tilting forwards or backwards on strange angles.
What am I doing wrong?