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

rotateCamera

rotateCamera(writer, turn): void

Turns the mounted camera by turn, in radians, at once: no look speed, no tilt share, no inversion and no look scale, since those belong to the player’s own travel, which turnCamera turns. The stops still hold. What the aim assist turns the camera with, as Unreal’s AddControllerYawInput turns a controller by an angle.

Parameter Type
writer ViewWriter
turn CameraTurn

void