Skip to Content
EffectsShockwave Debris

Shockwave Debris

An effect that emits a number of physics-based parts, which are launched from the origin with random velocities and spins. It can optionally inherit the material and color from nearby parts.

Summary

Attributes

EmitDelay : number

The amount of seconds waited before the effect is emitted.

Amount : NumberRange

The minimum and maximum number of debris parts to emit.

Lifetime : NumberRange

The minimum and maximum lifetime of a debris part in seconds.

InheritanceEnabled : boolean

When true, debris will attempt to inherit material, color, and transparency from parts near the origin.

InheritanceRadius : number

The radius to check for parts to inherit properties from.

InheritanceMaxResults : number

The maximum number of parts to check within the radius for inheritance.

LinearMagnitude : NumberRange

The minimum and maximum magnitude of the initial linear velocity.

AngularMagnitude : NumberRange

The minimum and maximum magnitude of the initial angular velocity.

SizeScaleEnd : Vector3

The scale factor applied to a parts’s size in an animation at the end of its lifetime.

MinSize : Vector3

The minimum size of a part.

MaxSize : Vector3

The maximum size of a part.

MinDirection : Vector3

The minimum direction unit vector for the linear impulse relative to the origin.

MaxDirection : Vector3

The maximum direction unit vector for the linear impulse relative to the origin.

Curves

Size

Controls the easing of all Size animations.

Transparency

Controls the easing of the Transparency animation at the end of the effect’s lifetime.

Attributes

EmitDelay

number

The amount of seconds waited before the effect is emitted.

Amount

NumberRange

The minimum and maximum number of debris parts to emit.

Lifetime

NumberRange

The minimum and maximum lifetime of a debris part in seconds.

InheritanceEnabled

boolean

When true, debris will attempt to inherit material, color, and transparency from parts near the origin.

InheritanceRadius

number

The radius to check for parts to inherit properties from.

InheritanceMaxResults

number

The maximum number of parts to check within the radius for inheritance.

LinearMagnitude

NumberRange

The minimum and maximum magnitude of the initial linear velocity.

AngularMagnitude

NumberRange

The minimum and maximum magnitude of the initial angular velocity.

SizeScaleEnd

Vector3

The scale factor applied to a parts’s size in an animation at the end of its lifetime.

MinSize

Vector3

The minimum size of a part.

MaxSize

Vector3

The maximum size of a part.

MinDirection

Vector3

The minimum direction unit vector for the linear impulse relative to the origin.

MaxDirection

Vector3

The maximum direction unit vector for the linear impulse relative to the origin.

Curves

Size

Controls the easing of all Size animations.

Inputs

Duration

[0; inf]

The amount of seconds it takes to reach the End value.

Transparency

Controls the easing of the Transparency animation at the end of the effect’s lifetime.

Inputs

Start

[0; inf]

The starting value of the curve.

End

[0; inf]

The ending value of the curve.

Last updated on