eratic bounces from no where

hello i am currently trying to make a billiard game, i am having these anomalies in which sometimes when a ball bounces it bounces like 3 times more, or it may just be sitting there and suddenly jump up or be shot quickly on the table with the player doing nothing…

it is not too big an issue since i can fix it with some tweaking but i would like to know why this happens…

here is a video of it:

This might be related with the case of two colliders inter-penetrating beyond some threshold. In such cases the physics system may apply arbitrary velocities in order to de-penetrate those bodies.

You may try setting a low value to maxDepenetrationVelocity in the Rigidbodies. This way the bouncing properties should be more driven by the physics materials and less by the inter-penetrating colliders.

1 Like

Rigidbodies being too small might also be the cause. Making colliders bigger fixes weird rotation and bouncing behaviour. You can also try raising velocity/position iterations in the physics settings.

1 Like