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

readViewRotation

readViewRotation(source, entity, rewind): ReadonlyQuaternion | null

The way entity faced as the player’s screen showed it at the moment rewind names, turned between the two sends round it, as readViewPosition reads its place; null where that reads none, and for one that faced no way. Written in place: read it at once.

Parameter Type
source QuerySource
entity Entity
rewind Rewind

ReadonlyQuaternion | null