NewtonBodyGetContinuousCollisionMode

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

NewtonBodyGetContinuousCollisionMode

int NewtonBodyGetContinuousCollisionMode (const NewtonBody* body);

Usage

Get the continuous collision state mode for this rigid body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.

Return

  • Nothing.

Remarks

  • Remark: Because there is there is penalty of about 3 to 5 depending of the shape complexity of the collision geometry, this feature is set off by default. It is the job of the application to determine what bodies need this feature on. Good guidelines are: very small objects, and bodies that move a height speed.

Remark this feature is currently disabled:

See also

NewtonBodySetContinuousCollisionMode NewtonBodySetContinuousCollisionMode