Is there a way to dampen a collision in pymunk. I'm trying to simulate space ships and when they collide they shouldn't just bounce apart. Gravity is (0,0). I want to absorb about 90% of an impact basically as if the hull was crumpling under the collision.
One possible thing I thought of is after the post-solve I can read the impulse used to solve the collision and take 90% of that and counteract it making a net solve of 10% but I would need the angular velocity and regular velocity's impulse separate.
I just need to absorb momentum as apposed to no energy being lost in a collision. Its always transferred to the other object.
Edit: Ok so Elasticity helps the bounce but the energy transfer is way too high. The Energy that would transfer is suppose to be absorbed in the crumpling collision. I would still like some to transfer just not much. I'm still thinking about the impulse because that's what actually changes their velocities upon collision. But based on if it's a direct collision or just a clip the amount is very different.