b2d_fixture_get_shape(id)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the shape of the given fixture and returns the index.

Parameters

Parameter Data Type Description
id integer index of the fixture

Return Values

integer: Returns the index of the fixtures shape.

Example Call

// demonstrates getting the shape of a fixture
fixshape = b2d_fixture_get_shape(myfix);