Class PhysicsRadialExplosionEventOptions
Properties
affected Bodies Callback
Callback that is triggered when the radial explosion affects bodies.
affected Impostors Callback
Callback that is triggered when the radial explosion affects impostors.
falloff
The strength of the force in correspondence to the distance of the affected object
radius
radius: number = 5
The radius of the sphere for the radial explosion.
sphere
sphere: { diameter: number; segments: number } = ...
Sphere options for the radial explosion.
strength
strength: number = 10
The strength of the explosion.
Options for the radial explosion event
See
https://doc.babylonjs.com/features/featuresDeepDive/physics/usingPhysicsEngine#further-functionality-of-the-impostor-class