Difference between revisions of "NewtonContactsProcess"

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

Latest revision as of 08:02, 10 June 2019

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