Learning path · 9 steps
Collision & physics engine basics
From rays and normals to broad phase, tunneling and rigid bodies: the core of a small physics engine.
- Mathematicscore1. Vector BasicsEverything below is vector math.
- Three.js & Renderingcore2. RaycastingAsk the world what a line hits first.
- Three.js & Renderingcore3. Surface NormalsWhich way a surface faces: bounces and slopes.
- Performancecore4. Spatial PartitioningAvoid testing every pair of objects.
- Systemscore5. Hitboxes & HurtboxesGameplay overlap tests for attacks.
- Systemscore6. Tunneling & Continuous CollisionCatch fast objects that skip through walls.
- Systemscore7. Fixed TimestepStable, repeatable integration.
- Physicscore8. Projectile MotionThe analytic reference for ballistic motion.
- Physicscommon9. Rigid Body DynamicsMass, inertia, torque and impulses in one body.