The physics system in GameMaker: Studio has a number of functions to apply joints between fixtures.

In the GameMaker: Studio 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.

Note: A joint does not need to be deleted when you destroy an instance joined to another instance, nor does it need to be deleted at the end of a room. Except in very specific cases (see the gear joint) as this is dealt with automatically by GameMaker: Studio.

Creating joints

The following pages explain the available joints and how they can be created:

Joint Values

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:

Joint Constants

Finally, you can use a number of constants from within GameMaker: Studio functions to get (or set) different properties of certain joints. These constants can all be found in the following section:

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here