The Earthquake effect will shake the camera and items similar to how an earthquake would shake the ground. The effect will stop after the specified duration.

Setup

  1. Select the + button in the effect list under the “Effects” foldout of the Ultimate Character Locomotion component.
  2. Add the Earthquake effect.
  3. No values need to immediately be modified – the default should be a good starting point.

Inspected Fields

Force

The amount of force to apply to the shake.

Smooth Horizontal Force

Should a smooth horizontal force be added? If false a random force between 0 and Force.X will be used.

Vertical Force Probability

Specifies the probability that a vertical force will be applied.

Fade Out Duration

The amount of time that it takes for the effect to fade out.

Positional Factor

Exaggerates or reduces the positional force imposed.

Rotational Factor

Exaggerates or reduces the rotational force imposed.

Duration

The number of seconds that the effect will last.

Apply Character Movement

Should the horizontal force be applied to the character’s movement?