BabylonJS 3DsMax
Character Navigation Demo (OLD) — BabylonJS 6
Third-person character controller in BabylonJS 6. Click-to-move on a navmesh, root motion from GLB animations, smooth rotation toward movement direction.
Older version. See BabylonJS Character Controller V2 for the rewrite with physics, gamepad, and blend tree.
Third-person controller with WASD/arrow key movement, Space to jump, and a mobile virtual stick. Uses MoveWithCollisions + simulated gravity — no physics engine.
Code structure
Two files in js/: main.js (scene, camera, input) and controller.js (movement logic, animation state). Character is a GLB with Idle, Walk, Run, and Jump clips. Navmesh exported from 3DsMax as a separate GLB.
Controls
- Desktop: WASD / arrow keys + Space to jump
- Mobile: left stick (move), right stick (rotate), button (jump)
Roadmap (from README)
- Jump and falling animations
- Double jump
- Better 3D environment scene