Difference between revisions of "NewtonMaterialGetContactTangentDirections"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
Contents
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
- This function can only be called from a material callback event handler (NewtonContactsProcess).