Difference between revisions of "NewtonBodyGetCollision"

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

Latest revision as of 08:02, 10 June 2019

NewtonBodyGetCollision

NewtonCollision* NewtonBodyGetCollision(const NewtonBody* bodyPtr)

Usage

Get the collision primitive of a body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.

Return

  • Pointer to body collision geometry.

Remarks

  • This function does not increment the reference count of the collision geometry.

See also

NewtonCreateBody NewtonBodySetCollision