Difference between revisions of "NewtonContactGetMaterial"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
Contents
NewtonContactGetMaterial
NewtonMaterial* NewtonContactGetMaterial (const void* contact);
Usage
Returns a pointer to the material associated with the contact specified.
Parameters
- const void* contact - pointer to the contact point data.
Return
- Material associated with the contact point.
Description
Returns a pointer to the material associated with the contact specified.
The material returned by the function shall be used to set the material properties of the given contact point in the contact processing callback.
Remarks
Added since Newton 2.0
See also
NewtonMaterialSetContactSoftness NewtonMaterialSetContactElasticity NewtonMaterialSetContactFrictionState NewtonMaterialSetContactFrictionCoef NewtonMaterialSetContactNormalAcceleration NewtonMaterialSetContactNormalDirection NewtonMaterialSetContactTangentAcceleration NewtonMaterialContactRotateTangentDirections