NewtonMaterialGetContactTangentDirections

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

NewtonMaterialGetContactTangentDirections

void NewtonMaterialGetContactTangentDirections (const NewtonMaterial* material, dFloat* dir0, dFloat* dir1);

Usage

Get the contact tangent vector to the contact point.

Parameters

  • const NewtonMaterial* material - pointer to a material contact joint
  • dFloat *dir0 - pointer to an array of at least three floats to hold the contact primary tangent vector.
  • dFloat *dir1 - pointer to an array of at least three floats to hold the contact secondary tangent vector.

Return

  • Nothing.

Remarks

See also

NewtonMaterialSetCollisionCallback