Box2d - disable move after contact?

Hi!
I am using box2d and when two objects collide they move away from each other like in the real world but how can i disable this effect and make the one object stay at the position where it contacted the other shape? I hope you get my point.
Thanks! Muc appreciated!

If you set the restitution of both to zero then they wont bounce

1 Like