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

slerpRotations

slerpRotations(target, slerpRotationsOptions): Quaternion

Sets target a fraction of the way from from to to, the short way round, and returns it: three’s slerpQuaternions and Unity’s Quaternion.Slerp, on the engine’s exact trig, so a room and every page blend to the same bytes. The ends may be read-only, such as a rotation read off a trait, and target may be either of them.

Parameter Type
target Quaternion
slerpRotationsOptions SlerpRotationsOptions

Quaternion