Trying to make a ball that speeds up after each bounce AND doesn't get stuck between parallel walls.

Also, here’s a trick I discovered that one time when rolling the abovementioned coins - Linear Damping can be Negative:


After trying several different methods for clamping velocity, I settled for this. Do note that the MapRange is *unclamped *here, velocities below 5000 result in *negative *damping values - they’re accelerated; velocities above 5000 are slowed down. While this system maintains energy (restitution 0) on its own, you may opt to add / remove some via player’s actions or additional impulses.

The above will maintain the 5000 cap quite efficiently and, most importantly, without any sudden changes in velocity. The simulation is allowed to exceed the cap only briefly and is quickly slowed down / brought up to speed. And it can be parametrised for each actor easily.