Skip to content

ExplodeOptions

Type

ExplodeOptions filters which entities Physics.Explode pushes and whether the blast impulse can break joints.

Exclude

Field
Exclude: { Entity }?

Exclude is an array of entities whose subtrees the blast skips.

Default nil

Include

Field
Include: { Entity }?

Include is an array of entities whose subtrees are the only ones the blast can push.

Default nil

CollisionGroup

Field
CollisionGroup: string?

CollisionGroup is the name of the collision group the blast sphere tests as.

Default nil

BreakJoints

Field
BreakJoints: boolean?

BreakJoints lets the next physics step measure the blast impulse against each joint's BreakForce and BreakTorque. When false, joints are exempt from the blast impulse for that step.

Default false