Interaction — click to move, a character that responds

Click the ground and the character walks there; click the character and it waves. A raycaster turns 2D taps into 3D intent, and a tiny state machine drives the cross-fades from Part 17 — Idle ⇄ Walk ⇄ Run.

booting…
Tap ground to move · tap robot to wave · drag to orbit
Loading character…

Controls

A single Raycaster handles both jobs: it tests the character first (→ emote), then the ground (→ set a destination). The state machine picks Walk or Run while a destination exists and returns to Idle on arrival; emotes overlay and resume the previous state via the mixer's finished event.