I have a helicopter and I’ve got it set up to rotate forward when going forward but I need it to stop once it gets at a certain angle instead of completing a circle like the slight tilt in a helicopter that is going forward
if angle < desired_angle:
angle += some_increment
else:
angle = desired_angle
How you’re gonna get and set the angle depends on what you’re using to rotate, there are millions of different ways to do that.
I used game logic to rotate, also I’m not sure what
if angle < desired_angle:
angle += some_increment
else:
angle = desired_angle
means
Just use properties.
Made this for you:
http://blenderartists.org/forum/showthread.php?t=167763
Hope it’s what you need. 
Just what i was looking for.
