physics.create_explosion method
Creates an explosion force that is applied to all physics-enabled items within radius
from the origin
.
If power
is negative, the force attracts items instead.
Parameters
-
origin: Vector3
origin of explosion.
-
radius: float
radius of explosion.
-
power: float
strength of explosion.