I would like to make a game with randomly bouncing baseball ball. Here is a sample view of the game:
I assigned circle collider 2D and rigidbody 2D components to the ball and then I added the physics material 2D. However, the ball is falling down infinitely due to the rigidbody 2D as I cannot move the ball without selecting the body type of the rigidbody 2D as dynamic. When I remove the rigidbody 2D component, the movement of the ball stops. So I am not sure what the other components do.
Would you please lead me how can I make these kinds of bouncing balls? What kinds of components do I need and how to write its script?
Thank you for your time.