Box2d contant speed before and after collision

Posted by bobenko on Game Development See other posts from Game Development or by bobenko
Published on 2013-06-30T15:29:17Z Indexed on 2013/06/30 16:28 UTC
Read the original article Hit count: 179

Filed under:
|
|

I want to make my body fly at constant speed, how to make it fly at constant speed before and after collision? I set restitution of my body to 1.0 but after some direct and powerful collisions my objects begins to slow, I want it to fly same speed as before. I heard this can be done by setting liner damping of the object, I think it can prevent only from fast flying objects not slow. Thanks in advance.

© Game Development or respective owner

Related posts about physics

Related posts about box2d