Helicopter Movement
Hi All,
I got something I can't figure out, how does my Helicopter gradually rotate when it gradually speeds up? and my helicopter is controlled by the user
Thanks
I got something I can't figure out, how does my Helicopter gradually rotate when it gradually speeds up? and my helicopter is controlled by the user
Thanks
![:D :D](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/grin.png)
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
So, for example, if your copter's max linear.X is 200, and you want it to be at 20 degrees at that speed, divide linear.X by 10.
Given the way copters tilt when they fly (nose-dip when accelerating), you will probably want to switch positive and negative!
So your rule would be:
Constrain self.Rotation to -((self.Motion Linear Velocity.X)/10)
Note that you will have to experiment with an offset if your copter isn't flying left to right, and that you should move your copter relative to the scene, not itself (or it will take off in a curve as speed ramps up).
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS