Spatial Hashes - Checking Collisions - 3D Collisions in GameMaker

Channel:
Subscribers:
8,800
Published on ● Video Link: https://www.youtube.com/watch?v=aqmTkbnMg7c



Game:
Duration: 49:10
285 views
8


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-GameMaker-Tutorials/3DCollisions
Each week is its own release tag:
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DCollisions/releases/tag/0.34
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

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:
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!







Tags:
game maker studio 2 3D
game maker studio 2 using 3D
game maker studio 2 3d games
game maker studio 2 3D collision
game maker studio 2 native 3D collision
game maker studio 2 3d tutorial
3d collisions in gml
gamemaker spatial hash



Other Statistics

The Spatials Statistics For DragoniteSpam

DragoniteSpam presently has 705 views for The Spatials across 2 videos, with his channel currently having around hour worth of content for The Spatials. This is less than 0.11% of the total video content that DragoniteSpam has uploaded to YouTube.