ig.

EntityCameraShake

new EntityCameraShake()

Trigger that causes camera to shake and simulate an earthquake or explosion.

Author:
  • Collin Hover - collinhover.com
Source:

shakeDuration :Number

Camera shake duration in seconds.

Default Value:
  • 0
Source:
See:

shakeFunction :function

Camera shake value function.

Source:
See:

shakeStrength :Number

Camera shake strength.

Default Value:
  • 0
Source:
See:

activate()

Activates shake in camera.

Source:

deactivate()

Deactivates shake in camera.

Source: