Collision detection and non-gravity body problems.

Hi,

I have been creating 2d game for iPhone for much time, but I cannot solve some problems connected with collisions. I have a penguin, piranhas and other
water dynamic objects. I would like to use Box2D just for collision detection - all dynamic objects like penguin and enemies cannot intersect.
I would like to set all these objects in such way, that all of them will be swimming without being affected by gravity (piranha moves on the same height) and not being "bounced" by other objects (for example when the piranha and penguin are in collision state they should not 'bounce' from each other, one of this objects - this one, that touched the other firstly must just stop moving, cannot go through the other).
Can someone tell me how to solve it? I tried for example to set very large mass for piranha, but it didn't help.
You can set the fixtures for the objects to be sensors so there is no collision reaction.
You could also change the collision filter for the fixtures so that they don't even detect each other at all.

http://www.iforce2d.net/b2dtut/collision-filtering
http://www.iforce2d.net/b2dtut/sensors

Original thread: https://box2d.org/forum/viewtopic.php?t=7680