NewtonMaterialDestroyAllGroupID
NewtonMaterialDestroyAllGroupID
Syntax:
void NewtonMaterialDestroyAllGroupID(const NewtonWorld* newtonWorld)
Usage
This function destroys all material group ids in the Newton world.
Parameters
- const NewtonWorld *newtonWorld - is the pointer to the Newton world
Description
This function removes all groups ID from the Newton world. It is useful when you wish to reset the newton world completely to create a new simulation.
Remarks
- This function must be called after there are no more rigid bodies in the word.