5. COLLISION DETECTION // Coding a Minecraft Clone with JavaScript + Three.js

Опубликовано: 17 Март 2026
на канале: Dan Greenheck
6,039
195

Want shader breakdowns, WebGPU experiments, and Three.js tips?
👉🏻 https://threejsroadmap.com/join-newsl...

🎮 LIVE DEMO
https://dgreenheck.github.io/minecraf...

💻 SOURCE CODE
https://github.com/dgreenheck/minecra...

▶️ PLAYLIST
   • Learn to Build Minecraft with Three.js  

0:00 Intro
1:03 Physics Class
2:12 Collision Detection Phases
3:02 Hooking up Physics
3:36 Broad Phase
7:16 Collision Helpers
13:48 Narrow Phase
28:42 Contact Point Helpers
30:25 Resolving Collisions
33:27 Gravity
35:45 Adjusting Player Velocity
39:38 Jumping
41:30 Fixed Time Step
45:34 Bug Fixes
46:52 Outro