ExplosiveDamage🔗
Inherits: Area3D
This class defines an explosive damage area.
Description🔗
It detects nearby bodies within a radius defined by a child CollisionShape3D or CollisionPolygon3D and also initiates a blast that applies impulse and damages to detected bodies based on their distance from the explosion.
Properties🔗
|
||
|
||
|
Methods🔗
void |
_ready() |
void |
_physics_process(_delta: float) |
void |
_on_body_shape_entered(_body_rid: RID, body: Node, _body_shape_idx: int, local_shape_idx: int) |
Property Descriptions🔗
The base amount of damage.
The magnitude of blast force, in Newtons.
A factor that determines how damage decreases with distance from the explosion center.
The entity responsible for dealing damage.
Method Descriptions🔗
void _ready() 🔗
There is currently no description for this method. Please help us by contributing one!
void _physics_process(_delta: float) 🔗
There is currently no description for this method. Please help us by contributing one!
void _on_body_shape_entered(_body_rid: RID, body: Node, _body_shape_idx: int, local_shape_idx: int) 🔗
There is currently no description for this method. Please help us by contributing one!