physics_fixture_create


描述

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.


语法:

physics_fixture_create()


返回:

Index of the fixture


例如:

fix_Ball = physics_fixture_create();

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