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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
initial |
CharacterSpawnPose |
Returns
Section titled “Returns”Entity