Is there any simple method to modify Box2D, in such a way, that there is no bouncing at all?
I've allready modified it, by turning restitution off (completely removed source that was connected to restitution). But I still have some situations where my body bounces. The situation is simple - I have a lot of static bodies (only polygons) as platforms, and single circle body as character (so as You probably know, I'm making a platformer). Now, what I want to achieve - I want to add some forces to the character, and I want Box2D to simulate the movement based on those forces and react to platform collisions (prevent intersections). But I don't want Box2D to make any collision response other than preventing intersections and invoking collision callbacks.
So, my question is - is there any simple method to turn "dynamic response" off? Where can I find code that is connected with this?
I guess (because I don't know box internally) that it works like this - if there is intersection, move object away, by minimal translation vector in normal direction, and then add some force impulse to the body (the bounce) - I want to leave the first part and remove the second.