colide doesnt work ??
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 ?
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
-
tatiang Posts: 11,949
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
now my prob is solved god bless you
.