int NewtonMaterialGetDefaultGroupID(const NewtonWorld* newtonWorld)
NewtonMaterialGetDefaultGroupID returns the material-id of the default material. All other materials are derived from this material, so it might be a good idea to set the most common properties to this material before creating the others.
- const NewtonWorld *newtonWorld - is the pointer to the Newton world
The ID number for the default Group ID.
Group IDs can be interpreted as the nodes of a dense graph. The edges of the graph are the physics materials. When the Newton world is created, the default Group ID is created by the engine. When bodies are created the application assigns a group ID to the body.