NewtonMaterialDestroyAllGroupID

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

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.

See also

NewtonDestroyAllBodies