NewtonBodyGetMaterialGroupID

From Newton Wiki
Jump to: navigation, search

NewtonBodyGetMaterialGroupID

int NewtonBodyGetMaterialGroupID(const NewtonBody* bodyPtr)

Usage

Get the material group id of the body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.
  • int id - id of a previously created material group.

Return

  • Nothing.

See also

NewtonBodySetMaterialGroupID