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

NpcMovementModeTrait

const NpcMovementModeTrait: AuthorityOnlyTrait<Trait<{ movementMode: NpcMovementMode; }>>

How a character no player controls moves while it needs no physics, which a prefab’s or a spawn’s movementMode sets and setTrait changes at run time. One without it nav-walks. Kept on the room alone.