This version of Unity is unsupported.

ModifiableContactPair.SetMaxImpulse

Declaration

public void SetMaxImpulse(int i, float value);

Parameters

i Index of the contact point.
value The maximum impulse that can be applied.

Description

Set 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.