Non overlapping detection

mrtopzmrtopz Member Posts: 28
edited November -1 in Working with GS (Mac)
Hi!

I have two actors and a boolean attribute that changes to true when one actor overlapes another but how do I detect that an actor is no more overlapping another? I've tried using boolean and integer attributes with no success. I want to detect when an actor leaves the area where another actor (bigger) is placed.

Thanks!

Comments

  • ChaserChaser Member Posts: 1,453
    Make sure your rule has an otherwise change attribute to false or if you want it to do something special when it leaves the actor and changes to false create rule for when it changes back to false. I use interger not Boolean so you can play with more variable than just true and false.
  • mrtopzmrtopz Member Posts: 28
    Thanks a lot!
    I was trying to use with integer but doesn't seems to work. But I already figured out why.

    Thanks again!
Sign In or Register to comment.