How to make a projectile bounce

I’ve just taken a look at the code for the projectile. It looks like this:

All you need to do to make it bounce is stop it from destroying the projectile when it successfully hits by removing the end node. Or using a “delay” node before deleting it.

You’re using a child class of the parent projectile, which isn’t giving you the functionality you want to begin with. You’re probably better off starting again and creating your own. All it needs to have is an event hit.

To adjust the force applied by the projectile when it hits you can change the impulse multiplier. Either by setting it literally or creating a variable then plugging that into it.

The adjusted code looks something like this:

A video of the bounce effect with impulse multiplier set to 5 instead of hard coded to 100.


Good luck!

P.S. The collision sphere of the projectile hasn’t been touched. It’s still set to it’s defaults, query only: