Skip to Content
EffectsShockwave Line

Shockwave Line

An effect that emits parts in a straight line from its origin.

Summary

Attributes

EmitDelay : number

The amount of seconds waited before the effect is emitted.

Duration : number

The amount of time in which the length goal is reached.

Lifetime : NumberRange

The minimum and maximum lifetime of a rock.

SyncPosition : boolean

Decides whether the effect follows its origin after being emitted.

Length : number

The length of the line.

Direction : Vector3

The direction of the line relative to the origin’s CFrame.

Rotation : NumberRange

The minimum and maximum rotation of a rock on the Y axis.

MinSize : Vector3

The minimum size of a part.

MaxSize : Vector3

The maximum size of a part.

SizeScaleStart : Vector3

The scale factor applied to a part’s inital random size from which it animates to have exactly 1 scale on all axes.

SizeScaleEnd : Vector3

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

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.

Scale

Controls the scale of rocks over the line’s duration.

Path

Determines the easing in which the rocks travel along the line.

Rate

Determines how many rocks are created per second.

Attributes

EmitDelay

number

The amount of seconds waited before the effect is emitted.

Duration

number

The amount of time in which the length goal is reached.

Lifetime

NumberRange

The minimum and maximum lifetime of a rock.

SyncPosition

boolean

Decides whether the effect follows its origin after being emitted.

  • Meshes follow their ancestor attachment, or the CFrame of the Start part. If it’s the former, the rotation of the Start part is still synced (required for making spinning meshes).

  • Beziers act similar to ParticleEmitters. They simply follow the CFrame of their part or attachment parent.

  • Spin Models find their first attachment or part ancestor and follow its CFrame.

  • Shockwave Lines follow the CFrame of their origin attachment. SyncPosition Lines are useful for creating non-straight paths.

Length

number

The length of the line.

Direction

Vector3

The direction of the line relative to the origin’s CFrame.

Rotation

NumberRange

The minimum and maximum rotation of a rock on the Y axis.

MinSize

Vector3

The minimum size of a part.

MaxSize

Vector3

The maximum size of a part.

SizeScaleStart

Vector3

The scale factor applied to a part’s inital random size from which it animates to have exactly 1 scale on all axes.

SizeScaleEnd

Vector3

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

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.

Scale

Controls the scale of rocks over the line’s duration.

Inputs

Start

[-inf; inf]

The starting value of the curve.

End

[-inf; inf]

The ending value of the curve.

Path

Determines the easing in which the rocks travel along the line.

Rate

Determines how many rocks are created per second.

Inputs

Start

[-inf; inf]

The starting value of the curve.

End

[-inf; inf]

The ending value of the curve.

Last updated on