In the GameMaker Studio 2 physics world, joints are used to constrain instances to the world or to each other. Typical examples in games include ragdolls, teeters, and pulleys, but joints can be combined in many different ways to create interesting motions or add realism to your game world.
The following pages explain the available joints and how they can be created:
Once a joint has been created, it can often be necessary to know its properties in order to change them at specific times in your game. The following functions (with their corresponding internal constants) are available to test and change joint values:
Additionally, you can use a number of constants from within GameMaker Studio 2 functions to get (or set) different properties of certain joints. These constants can all be found in the following section:
- Physics Joint Constants