The only collision hierarchy I've used so far for this has been the Octree, which works pretty well most of the time. But there are others you can use as well. Let's talk about one that's often seen in 2D games, the Quadtree!
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
Thumbnail credit:
Math by Siipkan Creative from the Noun Project
0:00 Introduction
1:54 Implementing quadtrees
8:02 Quadtree performance vs octrees
9:58 Situations where a quadtree would perform better or worse than an octree
14:51 The end
#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!