NewtonContactsProcess

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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