How to make movable actors never overlapping without colliding/bouncing ?
nico11
Member Posts: 3
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
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
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