Spatial Hashes - Checking Collisions - 3D Collisions in GameMaker

Опубликовано: 11 Май 2025
на канале: DragoniteSpam
586
9

The last two episodes were focused on setting up spatial hashes. Let's finally implement collision detection on them!

This video took far too long to make.

3D collisions in native GML are one of the more commonly requested tutorial subjects I get. This is a big subject and will require a long time to cover properly, but they can be done - no external DLLs required!

As always, you can find the GML code on my tutorial Github:
https://github.com/DragoniteSpam-Game...
Each week is its own release tag:
https://github.com/DragoniteSpam-Game...
https://github.com/DragoniteSpam-Game...

3D collisions in GameMaker playlist:
   • 3D Collisions in GameMaker  
GameMaker 3D playlist:
   • 3D in Game Maker Studio 2  
GameMaker Studio 2 playlist:
   • Game Maker Studio 2 - General Tutorials  

0:00 Introduction
0:33 Removing objects from the spatial hash
6:18 Checking objects against a spatial hash node
8:32 Raycasting against a spatial hash node
10:01 Checking objects against a spatial hash
12:27 Raycasting against a spatial hash
34:52 Demonstrating the spatial hash in the test world
40:59 Some extra comments on spatial hashes
44:03 What's next?
46:08 The end
46:40 Visualizing the spatial hash hierarchy

#GameMaker3D
#GameMaker3DTutorial
#GameMaker3DCollisions
- - - -
I've now made that Patreon:
  / wizardragon  
That promised social media link spam.
  / dragonitespam  
Transition / idle music is by my old friend Kamex:
   / greatgabite  

Rate, comment, subscribe, watch more, enjoy!