Shake

Method

Shake has 2 overloads.

Shake(float)

Apply a high frequency shake to the player camera and all virtual cameras. Good for short, low to high intensity impacts.

Remarks

Equivalent to Shake(Vector3.down * force)

Definition

void Shake(float force)
void Shake(float force)

Parameters

ParameterDescription
float force

Shake(Vector3)

Apply a high frequency shake to the player camera and all virtual cameras. Good for short, low to high intensity impacts.

Definition

void Shake(Vector3 velocity)
void Shake(Vector3 velocity)

Parameters

ParameterDescription
Vector3 velocity