accelerometer help
zombots
Member Posts: 186
does any one know how i can make an actor move faster the more the phone is tilited?
Comments
Constrain attribute: (self.Motion.Linear Velocity.X) = (game.Accelerometer.Y)*500
The accelerometer outputs a very small number. That's why it's multiplied by 500 here. Change 500 to whatever suits you.