Author Topic: Explode on Death  (Read 530 times)

Is it possible to make a projectile explode on death but not on col?

Maybe just make it return on collision and see what does then delete it on death? I'm not sure exactly.

Set the armingDelay to about 10-100ms before the lifetime, and add explodeOnDeath = 1; to the projectile. Then it will bounce/collide with surfaces (it'll still give the oncollision call) but only explode after the lifetime.