Handle collision between more than two bodies at a time
I have three bodies colliding:
a player, a square1 ant another square2 of different collision types.
the player pushes the square that is colliding with.
while pushing the square1, the square1 collides with the square2.
so I have three bodies colliding.
I want every body to stop.
please how do I manage the collision call backs.
the arbiter is only for tho shapes !
thank you
|