Documentation: ExplodeOnDamageComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
explode_on_death_percent | float | 1 | [0, 1] | rolls a dice (0 - 1) if we explode on death |
explode_on_damage_percent | float | 1 | [0, 1] | rolls a dice (0 - 1) if we explode on damage |
physics_body_modified_death_probability | float | 0 | if we get message about the physics body being modified, do we explode on what percent | |
physics_body_destruction_required | float | 0.5 | how big of percent of our body, do we need to lose before we explode | |
Objects | ||||
config_explosion | ConfigExplosion | if we have explosion, it's the setup for it | ||
Privates | ||||
mDone | bool | false |