I have a dynamic physics object that is affected by gravity and therefore bounces against a static floor at the bottom of the screen. Since I want to simulate a very "bouncy" rubber ball, I have set the bounce value to 0.9.
The problem is that after a number of bounces when the speed should have been decreased to zero, it still keeps bouncing with very small movements and it never stops completely.
For various resaons, I cannot make the floor dynamic. The uggly solution would be to add a dynamic object one pixel high and with 0.1 alpha directly on the floor and let the ball bounce on that instead. This actually makes the ball stop after a number of bounces (as it should), but this has a negative side effect: when the ball stops, it does not rest on the floor, but instead hovers 1 pixel above it (due to the invisible dynamic object on it).
Ergo: what would be the proper solution to let a dynamic object bounce against a static object realistically?