NewtonOnContactGeneration
Contents
NewtonOnContactGeneration
typedef int (*NewtonOnContactGeneration) (const NewtonMaterial* const material, const NewtonBody* const body0, const NewtonCollision* const collision0, const NewtonBody* const body1, const NewtonCollision* const collision1, NewtonUserContactPoint* const contactBuffer, int maxCount, int threadIndex)
Usage
Callback function that is called by Newton function(s): NewtonMaterialSetContactGenerationCallback
Parameters
- material NewtonMaterial*
- body0 NewtonBody*
- collision0 NewtonCollision*
- body1 NewtonBody*
- collision1 NewtonCollision*
- contactBuffer NewtonUserContactPoint*
- maxCount int
- threadIndex int
Return
- int
Description
Remarks
- This is not a library function, but a callback event.
See also
Categories:
- Newton Callbacks
- Physics Material Section
- Newton Functions
- Newton 3 Functions
- Newton 3 Callbacks
- Newton Functions without description
- Newton Callbacks without description
- Material functions
- Material Callbacks
- Collision contact processing and manipulating functions
- Collision contact processing and manipulating Callbacks