Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions.
See the stable version of this documentation page instead.
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.
Propiedades🔗
|
||
|
||
|
Métodos🔗
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!