How do I avoid that an object(ball) goes through the obstacle?

Printable View