An example, showing how a ball can bounce off objects without using physics:
https://playcanvas.com/project/913059/overview/ball-bounces