Difference between revisions of "NewtonMaterialSetContactSoftness"

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

Latest revision as of 08:02, 10 June 2019

NewtonMaterialSetContactSoftness

void NewtonMaterialSetContactSoftness( const NewtonMaterial* materialHandle, dFloat softness)

Usage

Override the default softness value for the contact.

Parameters

  • const NewtonMaterial materialHandle - pointer to a material pair.
  • dFloat softness - softness value, must be positive.

Return

  • Nothing.

Remarks

  • This function can only be called from a material callback event handler.

See also

NewtonMaterialSetCollisionCallback NewtonMaterialSetDefaultSoftness