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

spawnNpcBody

spawnNpcBody(world, initial): Entity

Spawns a walker: a character the controller moves, with the traits the step walks along a path, turns and jumps by, and the pose reads, on the engine’s default movement and controller settings. A player’s character is one with ControlledTrait on top, and a character a routine drives is one without it. The caller destroys the entity.

Parameter Type
world World
initial CharacterSpawnPose

Entity