NewtonBodySetMaterialGroupID

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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