How to change the direction of an actor when it collides with another actor.

thomasrichardgamesthomasrichardgames Member Posts: 263
edited July 2012 in Working with GS (Mac)
i would like to know how to change the direction of an actor when it collides with another actor. Thanks.

Comments

  • adlaimadlaim Member Posts: 68
    Make a boolean attribute called ((ChangeDirection))- or Some thing -((False)).
    1-Whin : ChangeDirection is false
    Rule:
    Move ==> direction= 0

    ------------------------

    2-When : overalips or collide .... & ChangeDirection is False
    Rule:
    ChangeDirection TO true

    -------------------------

    3- When : ChangeDirection is true
    Rule: move <== Direction = 180

    ......
  • thomasrichardgamesthomasrichardgames Member Posts: 263
    this looks extremely confusing. Thanks though.
Sign In or Register to comment.