Bouncing Ball slows down with collisions

Hey.
Have a question hopefully someone can help me with.

I’m trying to do multiple bouncing balls in a box as a proof on concept.
The balls right now should not be slowing down as their is no friction. I may add some later but given the final idea is they are asteroids in outer space there will be very little friction.

I’ve got the balls bouncing along the walls but they slow down after a few bounces.
I’ve got the physics materials for the balls set to 0 friction & 1 restitution, and the walls set to 0 friction.

Any thoughts? Attaching an example video and screenshot of settings.
I’m good with any fix for this even if I have to do c++ code.



I don’t know a ton about the physics/bouncing system, but id guess it functions off hit events, perhaps you can try a set or add velocity on the balls hit events?

Yea pretty much what I found out.

So 1 - The slowdown is caused by linear dampening on the ball & walls.
2 - It seems there is no way to turn off the slowdown all the way it’s just baked into the simulation. Turning off the dampening makes it look better though.
3 - I’m going to just upon collision give the balls a little extra energy so it counteracts the slowdown.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.