🎮How to use a character pawn
A Pawn is the entity the player controls. It is a tree of nodes, not a single mesh.
Player Start is only the spawn marker. An empty scene already has one. Play mode creates the pawn at that marker from the GameMode. The chick you drag into the scene is not the player.
When the agent builds a third-person character, it is assembling this tree and telling the GameMode which class to spawn. Select the pawn (or open its prefab) and read the child nodes to see what you got.
Player Start vs pawn
Player Start
ENGINE.PlayerStart
Where the player appears. Move this to change the spawn.
Character Pawn
ENGINE.CharacterPawn
Walking character: collision capsule, visible model, camera, animation, movement.
Default Character Pawn
ENGINE.DefaultCharacterPawn
Character Pawn plus interact and fire.
GameMode
your class in src/
pawnFactory decides which pawn Play creates.
The Empty template does not set pawnFactory. Play then spawns a bare ENGINE.Pawn — no mannequin, no third-person camera. Use a movement template (3rd Person Movement, 1st Person Movement, and similar), or set pawnFactory yourself.
What Character Pawn builds
ENGINE.CharacterPawn creates this tree. Older prefab JSON may still say Component instead of Node. Same objects.
Root (often hidden)
Mesh Node, capsule
Collision. Profile Character, motion kinematicPositionBased. This is not the look.
Visual (MeshComponent)
Model Mesh Node
The .glb. Default: @engine/assets/character/mannequinG.glb. Physics off. Cast Shadow on.
Animation
Animation State Machine Node
Default config: @engine/assets/character/config/mannequin.animconfig.json. The pawn writes isRunning, isJumping, forward, back, left, right.
CameraPivot → CameraSpringArm → Camera
Spring Arm Node + camera
Third-person follow. Pivot is pitch; spring arm is distance.
Why the capsule has physics and the visual does not: What physics and Rapier mean in Sandbox Studio.
Replacing the look means changing modelUrl on the visual Model Mesh Node, not replacing the capsule. See How to use mesh models and ModelMesh nodes.
The animation graph is already wired. Only replace the .animconfig.json if you need new states. See Create an Animation State Machine. Imported rigs and extra clips: How to import a rigged character and animation clips.
Spawn a Character Pawn from GameMode
In your GameMode initialize, set pawnFactory to the pawn class you want. Then run pnpm build and Build Project (Ctrl+B / Cmd+B). See Project code fundamentals.
Use ENGINE.DefaultCharacterPawn.create() when you need interact and fire. Details: Doors, switches, pickups and triggers.
Enter Play mode
Play. The GameMode creates the pawn at Player Start. WASD moves; mouse looks. Virtual sticks on touch use the same path. See Mobile development.
Tune the camera
Select the pawn. In the Inspector, open the Camera category.
cameraMinDistance/cameraMaxDistance— zoom limitscameraZoomSensitivity— mouse-wheel stepcameraCollisionBuffer/cameraSpringStiffness— how the spring arm clears wallscameraMinPitchDegrees/cameraMaxPitchDegrees— look up/down limits
Prefab the player
Templates often save the player as .prefab.json (for example assets/prefabs/Player.prefab.json) so the capsule, mesh, camera, and extra game nodes stay one asset.
Configure the pawn, then Save as Prefab. Play still creates the player through pawnFactory (CharacterPawn.create() or your own @ENGINE.GameClass() player). Do not leave a second copy sitting in the scene. See How to Set Up a Prefab.
Common mistakes
Dragged a character .glb and expected to walk around
That is a Model Mesh Node. The player is a Pawn spawned at Player Start.
Empty project, Play, no mannequin
pawnFactory is still the bare Pawn. Set it to Character Pawn, or start from a movement template.
Replaced the capsule with the new GLB
Collision broke or the mesh jammed into the floor. Change modelUrl on the visual child.
Two characters in Play
You placed a Character Pawn and GameMode spawned one. Remove the placed extra, or stop spawning from the factory.
Idle pose never leaves Idle
The graph has no parameters. Character Pawn already writes them; a custom pawn must too. See the animation page.
What You've Done
You can tell Player Start from the pawn, read the Character Pawn tree, change the visible model, and set pawnFactory so Play spawns the right class. Who sits in the scene vs who spawns at Play: How to spawn the player and place NPC prefabs. Next: How to Set Up a Prefab, or Create an Animation State Machine if the graph needs new states.
Last updated
Was this helpful?

