Terrain and Heightmaps - 3D Collisions in GameMaker
When it comes to terrain, you can treat it like any other triangle mesh - or you can take a few shortcuts!
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.30
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
My terrain editor:
https://dragonite.itch.io/terrain
0:00 Introduction
0:34 A few comments about terrain
4:10 Creating a Heightmap class
7:20 How my terrain and heightmaps are created
11:03 Implementing ColHeightmap's GetHeight() method
16:31 Smoothing out the result a bit
24:09 Remember to delete buffers if you're done using them
26:20 Scaling the heightmap
29:07 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.