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

spawnCharacterBody

spawnCharacterBody(writer, pose): Entity

Spawns a character’s body: an entity the character 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, such as a shopkeeper or a pet, is one without it. It takes what spawn takes: the room’s step, or a join’s step, whose refused join takes the body back. The caller destroys the entity. As Godot’s CharacterBody3D.

Parameter Type
writer Authority | JoinStep
pose CharacterSpawnPose

Entity