Quadtrees - 3D Collisions in GameMaker
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-GameMaker-Tutorials/3DCollisions
Each week is its own release tag:
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DCollisions/releases/tag/0.29
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DCollisionTestWorld
3D collisions in GameMaker playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrf_VYo26LNl3zN5uwfuC3CC
GameMaker 3D playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrcML9uqHe4fwBVTm650Vy3V
GameMaker Studio 2 playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdAGC6YHCqn_VR69GlR_rQw
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:
https://www.patreon.com/wizardragon
That promised social media link spam.
https://twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
https://www.youtube.com/user/GreatGabite/about
Rate, comment, subscribe, watch more, enjoy!
Other Videos By DragoniteSpam
Other Statistics
The Game Maker - The 18th Carol Reed Mystery Statistics For DragoniteSpam
At this time, DragoniteSpam has 607,547 views for The Game Maker - The 18th Carol Reed Mystery spread across 404 videos. The game makes up over 5 days of published video on his channel, or 11.07% of the total watchable video for The Game Maker - The 18th Carol Reed Mystery on DragoniteSpam's YouTube channel.


