Difference between revisions of "NewtonBodySetMaterialGroupID"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

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