ExplosiveDamage🔗
Hérite: 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.
Propriétés🔗
|
||
|
||
|
Méthodes🔗
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) |
Descriptions de propriété🔗
La quantité de dégâts de base
L'intensité de la force de l'explosion, en Newtons.
Un facteur qui détermine comment les dégâts diminuent avec la distance par rapport au centre de l'explosion.
L'entité responsable des dégâts.
Descriptions de méthode🔗
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!