How to make movable actors never overlapping without colliding/bouncing ?

nico11nico11 Member Posts: 3
edited November 2013 in Working with GS (Mac)
Hi,
I’m trying to have 2 or more actors never overlapping. The idea is that I can move Actor1 on Actors2 (or vice versa), but when I release the touch, the Actor1 will be repositioned to the first colliding coordinate.
It’s almost there, but when playing around, I can manage to have the 2 Actors overlapping like this:
https://db.tt/4q0IsLJ8

Here the project:
https://db.tt/zVrbtGjT

How can I make sure they will never overlap?

Thanks for your help,
Nicolas

Comments

  • nico11nico11 Member Posts: 3
    Thanks, that is working now and the actors don't overlap anymore.
    But when moving Actor1 on Actor2 and releasing the touch, Actor2 is also moving a bit. How can I make Actor2 not move at all?

    Test project v0.2:
    https://db.tt/Xad4yPNj
Sign In or Register to comment.