Skip to content

Collisions

Michael edited this page Sep 9, 2023 · 1 revision

I spent an unfortunate percentage of my life making videos about implementing a comprehensive 3D collision system in GameMaker from scratch.

YouTube

Documentation

Right, let's get into this.

Links

In case you for some unfathomable reason don't want to go through and do all that by hand, you can also download the completed version of the project on Itch here or see the repository on Github here.

This requires a relatively recent version of GameMaker to use. I don't remember exactly what the most recent language feature in use here is but I'm going to wildly guess that you should be on 2023.6 just to be safe.

Notes

The system is (vaguely) modeled after the Bullet collision system. If you used that at any point in the past, this might look a bit like a simplified version of it.

Credits

  • Gabor Szauer, author of Game Physics Cookbook - I actually bought (and even read! Weird, right?) a book for this.
  • TheSnidr, for answering a bunch of my dumb questions over the last few years
  • The duck sprite was made by @alemunin
  • The trees and stuff in the demo were made by kenney
Clone this wiki locally