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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
Authority | JoinStep |
pose |
CharacterSpawnPose |
Returns
Section titled “Returns”Entity