I’ve got a top-down 2D scene, with X to the right, Y up, and Z (unused) into the screen.
In the scene are:
- A ball object with a capsule collider with Unity’s standard bouncy material and rigidbody with Z position frozen and X and Y rotation frozen and gravity off, and a script that uses rigibody.AddForce to start movement along the X axis to the right towards the wall
- A wall object with a box collider and a rigidbody with gravity off
In the Physics settings, I’ve set the bounce threshold to 0.
What happens is the ball properly moves towards the wall but it doesn’t bounce off. It collides and goes the other way, but much slower without any bounce, with the same behavior as when there’s no bouncy material. It’s as if the bouncy material doesn’t exist. What am doing wrong?