NewtonContactsProcess

From Newton Wiki
Jump to: navigation, search

NewtonContactsProcess

void (*NewtonContactsProcess) (const NewtonJoint* contact, dFloat timestep, int threadIndex);

Usage

NewtonContactsProcess is a Newton callback called whenever two bodies come in contact and generate collision interaction contact joints between two bodies.

Parameters

  • const NewtonJoint* contact- pointer to a material contact joint
  • dFloat timestep - Current timestep that was passed to NewtonUpdate
  • int threadIndex

Remarks

  • This is not a library function, but a callback event.

See also

NewtonMaterialSetCollisionCallback