I am trying to create balls that can be launched and would bounce on walls, kind of like on a pong game, but in 3D.
I tried adding a physics material to the ball/walls with restitution, but my balls always end up sliding against the wall instead of bouncing. I tried adding a projectile movement component too but it wasn’t doing anything.
What I want is a ball I can hit, which launches it, and then it can bounce around, with some air friction to make it stop after a while.
I managed to launch the ball with an impulse I give it on a hit trigger, and air friction with a constant force applied against its direction, but I can’t get the balls to bounce properly.
Is there a way to achieve it properly? I think I have been using the physics system incorrectly.
Here is an example of the sort of physics I am looking for, in a Steam game (look at the video).