How To Code Minecraft In Javascript (THREE.js) | Part 11 - Raycasting

Опубликовано: 23 Март 2026
на канале: Hritik Roy Chowdhury
3,183
51

Hey guys! Welcome to part 11 of this 3d minecraft. In this video we will take a look at raycasting. It basically finds all the intersections in an imaginary line from your mouse pointer (or any other point) to another point. It is used in almost all 3D games such as in minecraft. Thanks for your support and see you guys in the next one!

Links:
Check out the code in my GitHub repository : https://github.com/HritikRC/Minecraft...
Intro to this series :    • Coding Minecraft With THREE.js! | Series I...  
Series Playlist :    • How to Code Minecraft  
THREE.js : https://threejs.org/
Perlin Noise Library (remember to include the license!) : https://github.com/josephg/noisejs
Perlin Noise Tutorial :    • 3D Terrain Generation with Perlin Noise in...  
Download Python : https://www.python.org
Minecraft World Generation Algorithm : https://github.com/UnknownShadow200/C...