Hi,
I’m extremely new to unity and was just messing around with the 2D Sample Assets. I added my own ball and initially placed a 2D Box Collider(with a physics material with a certain bounciness) in the shape of the rectangle at the center of the ball horizontally. It bounces perfectly except that the ball sinks into the ground(has box collider), the ball sinks into the ground until the box collider of the ball hits the grounds box collider. Of course I don’t want this, so I went ahead and switched to a Circle Collider 2D and again applied the same Physics Material to it, however this time the ball would not bounce at all when it was on the ground. I tried adjusting the ball so that initially it would be in the air, then drop and keep bouncing, that was working however it was completely ignoring my jump input(space bar). So this means that the circle collider was working properly and the ball was bouncing but it wasn’t listening to my jump commands. I also tried a box collider that completely encompassed the ball, which didn’t work either. The only collider that worked was a box collider in the shape of a slim rectangle at the center of the ball, extending horizontally.
Also one more thing, when the ball bounces, the bounce height progressively gets smaller(as you would expect in a realistic physics engine, the ball loses energy), however it never gets to a standstill, the bounce height gets small, but you can still notice that it is jittering up and down(i.e it never hits a complete stop), how do I fix that?[Fixed this issue by adjusting velocity threshold in Physics2D Settings. My first problem still remains however]