YoYo Games Staff
Part 3 of 4 "Physics In GameMaker Studio 2" covers physics worlds and physics joints.
https://www.yoyogames.com/blog/71/physics-in-gamemaker-studio-2-part-3In this part of out mini-tutorial series about physics in GameMaker Studio 2, we are going to explore joints, advanced physics world functions, and debug drawing. If you haven't already read through the previous parts of this series, you can find them from the following links:
SET UP THE PHYSICS WORLD
in this article, we are going to start from scratch so create a new GML project and call it "Physics Joints" or something similar. Now, open the room editor for "Room0", and set the background layer colour to dark grey (you'll see why later), then close the room editor. We aren't going to use the physics tab in the editor to set up the physics world (like we did in the previous tech blogs), but instead we are going to do it in code.