Damageable Object Setup
If you want to create a damageable object that isn't a vehicle, here's how to do it:
Add a Damageable component to the object
Add a collider
Add a Damage Receiver to the same game object as the collider
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