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 :D

Comments

  • mrpacogpmrpacogp Member Posts: 400
    Add some drag under physics actor maybe.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Check the box in physics to fixed rotation and it will only rotate as you tell it to.
  • mrpacogpmrpacogp Member Posts: 400
    I have to stay in silent until a take better level of english lol xD
  • TesseractEngineTesseractEngine Member Posts: 180
    Constrain your copter's rotation to a calculation based on its motion.linear velocity.X.

    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).
  • NicholasSeahNicholasSeah Member Posts: 68
    I got the same problem as the guy in this post (https://forums.gamesalad.com/discussion/12463/best-way-for-helicopter-rotation) but I don't get the solution. lol
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited November 2012
    Where English is a second language for some it's tough to understand just what they are asking. I thought he was asking why it is rotating not how do I rotate it in sync.
Sign In or Register to comment.