This function creates a fixture and returns the id of that fixture to be used in all further calls.


GML Code Example


Returns: Index of the fixture


The first step in setting up a fixture is creating it with this function. The returning index should be stored in a variable to be used in all further functions that are used to define and use this fixture.


GML Code Example

fix_Ball = physics_fixture_create();

The code above will create a fixture and store its index in the variable "fix_Ball";

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