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.
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.