colide doesnt work ??

salah.rahalsalah.rahal Member Posts: 121
edited May 2012 in Working with GS (Mac)
hey guys
so i was working with drage and drope leeson and i aplied it on a actore and i want from this actore to move every where inside of fram and never pass it ... and i did it with colide behavior but it didnt work . what is the soulution ???
and how to to keep distance betwen two actors i mean when the space betwen them is for example 10pixel they stop getting closser to eath other like there is an invisible object betwen them ?

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    For the first part, see this:



    For the second part, how about having an actor that is constrained to one of the actors and is 10 pixels wide, and then set a bounce when collide behavior to bounce with the constrained actor?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Answers

  • salah.rahalsalah.rahal Member Posts: 121
    TKX MAN ... i apreciate you help
    now my prob is solved god bless you

    .
Sign In or Register to comment.