Hello,
I am making a flying game where you are flying a spaceship around obstacles, but I have a problem.
I want to make the ship fly up, but the spaceship will just turn 360’, it won’t stop turning.
How do I stop it from turning for ever, and only fly vertically?
I think you just want a rotation cap so he can’t point more than vertical?
You’ll need some python for that, and there’s some nasty vector stuff that’ll have to go into that too. Perhaps a simpler way it to use an animation with a controlling property, and then cap the property
Thanks for the replies.
I have to admit I am very inexperienced with the game engine. @BluePrintRandom
For some reason when I input the code:
and try to run the script, I receive the invalid syntax error message. I am pretty sure I am doing something wrong, but I have no idea what it might be.
I decided to try using an Orientation constraint, but I got some results that I am not very happy with.
Here is a link to the Blend file if that will help. >HERE<