[SOLVED] Make bounce an object using the Physics Engine

Hello, im creating a Peggle like game using the Physics Engine and everything is going well, But i want to make the ball to bounce when it’s touching a peg. Is it possible to make that?

Hi, if you check the gdevelop examples and starters you will probably find what you need, like here GDevelop 5 or here GDevelop 5.

You can increase/decrease the Linear Velocity

Check out Physics restitution - set the ball’s restitution in the physics behaviour to a value close to 1. This will cause it to retain it’s energy when it bounces.

1 Like

Thanks you!! the ball is bouncing just like on the original Peggle.