| Property |
Description |
| falloff |
The falloff distance beyond the radius. Impulse is reduced to zero at this distance.
|
| hitCategories |
The categories that will produce hits.
|
| impulsePerLength |
Impulse per unit length. This applies an impulse according to the shape perimeter that is facing the explosion.
Explosions only apply to circles, capsules, and polygons.
This may be negative for implosions.
The magnitude is clamped to PhysicsWorld.ExplosionDefinition.MaxImpulse.
|
| position |
The center of the explosion in world space.
|
| radius |
The radius of the explosion.
|
| useTriggers |
Whether trigger shapes receive the explosion impulse alongside non-trigger shapes.
A trigger shape reports overlaps rather than producing a physical response, so it is skipped by default and only a non-trigger shape is pushed by the explosion.
Set this to true when a trigger shape should be pushed as well, for instance when the same shape is used both to detect an overlap and to be thrown by a blast.
Defaults to false.
|