Back to projects
03Velocity + Friction

3D Racing Game

Acceleration. Drift. Collision. All real physics.

CourseFoundation
Age9+
TimelineWeeks 11–12
TechThree.js · Cannon.js · Physics Engine
VIDEO COMING SOON

What students build

Students build a complete 3D racing game playable in any browser. The car accelerates with real physics — not constant speed, but force-based acceleration with friction and drag. Turns use actual steering physics with drift when you exceed traction limits. Jumps are affected by gravity. Collisions use bounding box detection with momentum transfer. Students build the track geometry, the car controller, the camera follow system, and the entire game loop from scratch.

What makes it real

01

Real Acceleration & Friction

Force-based movement. Acceleration depends on engine power minus friction minus drag. No fake constant speeds.

02

Drift Physics

Exceed traction limits on turns and the car slides. Controlled drifting requires balancing throttle and steering angle.

03

Track Builder

Students design their own track with curves, straights, ramps, and checkpoints. Exported as reusable JSON.

04

Camera Follow System

Third-person camera that smoothly follows the car, rotates on turns, and pulls back on high speed. Lerp-based.

05

Gravity-Affected Jumps

Hit a ramp and the car goes airborne. Gravity pulls it down. Land angle matters — nose-dive and you crash.

06

Lap Timer & Leaderboard

Split times per checkpoint. Best lap tracking. Ghost car replay of your fastest run.

Skills that transfer

  • Physics engines — Cannon.js rigid body simulation
  • Force vectors — applying directional forces to 3D objects
  • Game loop architecture — update, render, input handling at 60fps
  • Camera systems — smooth following, dynamic FOV, shake effects
  • Collision detection — bounding boxes, raycasting, contact events
  • State management — game states, pause, restart, score tracking

Why parents care

01

Game development teaches problem-solving better than any other discipline

02

Physics concepts from school become tangible and fun

03

Playable in a browser — friends and family can play it immediately

04

Shows engineering skills that translate to any software career

Your child can build this.

Book a free demo class — they'll write real code in the first 45 minutes.

Book a FREE Demo