NewtonBodySetMaterialGroupID
Revision as of 08:02, 10 June 2019 by Unknown user (talk)
NewtonBodySetMaterialGroupID
void NewtonBodySetMaterialGroupID( const NewtonBody* bodyPtr, int id)
Usage
Assign a material group id to the body.
Parameters
- const NewtonBody *bodyPtr - pointer to the body.
- int id - id of a previously created material group.
Return
- Nothing.
Remarks
- When the application creates a body, the default material group, defaultGroupId, is applied by default.
See also
NewtonBodyGetMaterialGroupID NewtonMaterialCreateGroupID NewtonMaterialGetDefaultGroupID