Difference between revisions of "NewtonMaterialGetContactNormalSpeed"

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

Latest revision as of 08:02, 10 June 2019

NewtonMaterialGetContactNormalSpeed

dFloat NewtonMaterialGetContactNormalSpeed (const NewtonMaterial* material);

Usage

Calculate the speed of this contact along the normal vector of the contact.

Parameters

  • const NewtonMaterial* material - pointer to a material contact joint

Return

  • Contact speed. A positive value means the contact is repulsive.

Remarks

See also

NewtonMaterialSetCollisionCallback