NewtonBodyGetCollision
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.