Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ModifiableContactPair.GetStaticFriction

Declaration

public float GetStaticFriction(int i);

Parameters

i Index of the contact point.

Returns

float The static friction coefficient at a contact point.

Description

Get the static friction coefficient at a particular point of the contact pair.

Normally, the static friction coefficient is between 0 and 1.