Version: 2022.2
public void SetMaxImpulse (int i, float value);

参数

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

描述

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.