This version of Unity is unsupported.

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.