Camera Shake
A camera shake effect, utilizing the Shake module from RbxUtil .
Summary
Attributes
The amount of seconds waited before the effect is emitted.
The amount of seconds the effect is delayed by.
The radius of the sphere within which the shake is perceivable when parented to a part or an attachment.
The maximum amplitude/strength of the shake.
The speed of the shake.
The amount of seconds it takes for the shake to fade in.
The amount of seconds it takes for the shake to fade out.
The amount of seconds the shake is sustained for.
Similar to Amplitude
, but only affecting the shake’s influence on position of the camera, while also allowing per-axis control.
Similar to Amplitude
, but only affecting the shake’s influence on rotation of the camera, while also allowing per-axis control.
Curves
Controls the speed of the effect.
Attributes
EmitDelay
number
The amount of seconds waited before the effect is emitted.
EmitDuration
number
The amount of seconds the effect is delayed by.
Falloff
number
The radius of the sphere within which the shake is perceivable when parented to a part or an attachment.
Amplitude
number
The maximum amplitude/strength of the shake.
Frequency
number
The speed of the shake.
FadeInTime
number
The amount of seconds it takes for the shake to fade in.
FadeOutTime
number
The amount of seconds it takes for the shake to fade out.
SustainTime
number
The amount of seconds the shake is sustained for.
The EmitDuration
attribute can also be used to achieve a prolonged shake effect.
In the future camera shakes may receive an Enabled
attribute as a way to not rely on a fixed sustain/enabled duration.
PositionInfluence
Vector3
Similar to Amplitude
, but only affecting the shake’s influence on position of the camera, while also allowing per-axis control.
RotationInfluence
Vector3
Similar to Amplitude
, but only affecting the shake’s influence on rotation of the camera, while also allowing per-axis control.
Curves
Speed
Controls the speed of the effect. If it becomes negative, all of the animations start going backwards.
Inputs
Duration
[0; inf]
The amount of seconds it takes to reach the End value.
Start
[-inf; inf]
The starting value of the curve.
End
[-inf; inf]
The ending value of the curve.