NewtonMaterialGetContactTangentDirections

From Newton Wiki
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