detecting number of collisions

as7494as7494 Member Posts: 70
edited November -1 in Working with GS (Mac)
how is it possible to detect the number of collisions between two actors?

Comments

  • expired_012expired_012 Member Posts: 1,802
    Make a global integer attr. named collision count

    Rule
    When actor 1 collides with actor 2

    Change Att. Game.collisioncount to game.collisioncount +1
  • as7494as7494 Member Posts: 70
    how would i remove a collision from the integer? i tried using the otherwise part of the rule however that doesnt work?
Sign In or Register to comment.