Overview | Videos | Documentation | Demos | Integrations | API | Support
Doc Home > Objects > Destructable
The Destructable component is an abstract class which acts as the base class for any object that immediately destroys itself and applies a damage. The Projectile and Grenade components are inherited from the Destructable class. When the object is destroyed it can spawn an explosion, decal, or dust prefab.
Damage Amount
The amount of damage done to the object hit. Will not be used if an explosion is specified
Impact Force
How much force is applied to the object hit. Will not be used if an explosion is specified
Damage Event
Optionally specify an event to send when the object is hit. Will not be used if an explosion is specified
Explosion
Optionally specify an explosion prefab
Decal
Optionally specify a decal when the destructable activates
Dust
Optionally specify dust when the destructable activates
<- Climbable Object