Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

CameraShakeOptions

A big moment, as shakeCamera takes it.

Property Type Default value Description
at? Vector3Like undefined Where the moment happened. Left out, it shakes at its whole strength wherever the player stands.
cap? number 1 The most shake the camera holds once this moment adds to it, from 0 to a whole shake at 1: a cap on how a game’s moments stack, so many at once never throw the view. A shake already past it stays as it is.
radius? number 20 Metres from the player at which the shake fades to none, evenly on the way out.
strength number undefined How hard the moment shakes the camera, from 0 to a whole shake at 1, before the distance fades it. It adds to the shake the camera holds, up to a whole one.