Third-person character
This capstone builds a third-person character: WASD movement on a Rapier
Kinematic Character Controller, a mouse-orbit follow camera, and AnimGraph-driven
idle/walk/run locomotion — plus pushable physics props. It maps to the shipped third-person
example (packages/editor/template/src/examples/third-person/).
What you’ll build
Section titled “What you’ll build”- A character that walks, strafes, and turns under player control.
- A follow camera that orbits with the mouse.
- Locomotion animation that blends with movement speed.
The pieces
Section titled “The pieces”Two GameComponents do the work:
CharacterController(runs inprePhysics) — owns the RapierKinematicCharacterController, applies WASD movement + gravity + jump, and drives the AnimGraphspeedparameter.CameraTarget(runs inpreRender) — owns the orbit camera + pointer-lock, tracking yaw/pitch, and positions the runtime camera behind the character.
Run & understand the character Play the result, then see how the controller, camera, and animation fit together.