I am running into a problem where when a physics enabled ball is going slowly it doesn't bounce off objects correctly. I have made a video to illustrate the problem
https://youtu.be/9T1hkir7sCo
Basically, the ball should run into the stationary ball and the stationary one should bounce off. This works when the speed is fast enough, but below a threshold they both just start moving together, which looks weird.
Whats going with this, and how can I make it react properly?
Experiment details (same for both objects):
RigidBody
Physics material:
Try using physics materials. Set bounciness to 0 on the object that the player will jump on.
Unity's default
Bounce Threshold
for recognizing bounces is a velocity > 2
Set a velocity value. If two colliding objects have a relative velocity below this value, they do not bounce off each other. This value also reduces jitter, so it is not recommended to set it to a very low value.
You can change this Bounce Threshold
in the PhysicsManager
(Edit->Project Settings->Physics):
or via script on runtime (see Physics.bounceThreshold)
Physics.bounceThreshold = 1;
Make it as small as you need it ... but note
This value also reduces jitter, so it is not recommended to set it to a very low value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With