IDRIFT-NEED HELP!!!
![mmmatt312](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
hi, so i'm making a drifting game and everything works but the car also turns when it's at a complete stand still.
how can i make it so it only turns when it is moving. (moving with inertia not from pressing the forward button)
ANY help appreciated!!
how can i make it so it only turns when it is moving. (moving with inertia not from pressing the forward button)
ANY help appreciated!!
Comments
Create New rule om your car actor
If attribute.self.motion.X > 10
If attribute.self.motion.Y > 10
Change attribute game.turn to true
Otherwise
Change attribute game.turn to false
Them add to your turn behavior
If game.turn is true
Turn car with your controls
RULE
if self.motion.x>10
if self.motion.y>10
change attribute
game.turn to true (or game.turn to game.turn=true which one)
otherwise
game.turn to false (or game.turn to game.turn=false)
i did that it didn't help
but thanks for the help anyway!!!!!!!!!!