IDRIFT-NEED HELP!!!

mmmatt312mmmatt312 Member Posts: 2
edited November -1 in Working with GS (Mac)
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!!

Comments

  • BrynjeBamsenBrynjeBamsen Member Posts: 188
    Create a new game attribute boolean called turn

    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
  • mmmatt312mmmatt312 Member Posts: 2
    so like this

    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!!!!!!!!!!
Sign In or Register to comment.