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

AttachmentTrait

const AttachmentTrait: Trait<() => object>

The entity this one follows, and where it stands from it: offset in metres along the parent’s axes, whatever the parent’s scale, and rotation after the parent’s. attach and detach write parent; a predicted system may change offset and rotation on its own entity, such as a turret it aims on a kart, and every page streams it.