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

ModifiableContactPair.GetMaxImpulse

Declaration

public float GetMaxImpulse(int i);

Parameters

i Index of the contact point.

Returns

float The maximum impulse that can be applied.

Description

Get the maximum impulse that the solver can apply at a particular contact point in this contact pair.

Note that setting zero maximum impulse will be the same as disabling the contact point.