Damageable Object Setup

If you want to create a damageable object that isn't a vehicle, here's how to do it:

  1. Add a Damageable component to the object

  2. Add a collider

  3. Add a Damage Receiver to the same game object as the collider

  4. Set up a Detonator if you wish

Now, the object will take damage, and if you set up a detonator with an explosion, it will explode when its health reaches zero.

Last updated