ドキュメント

Unity Engine

Unity Engine

GetMaxImpulse(int)

Get the maximum impulse that the solver can apply at a particular contact point in this contact pair.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float GetMaxImpulse(int i)

Parameters

Index of the contact point.

Returns

Type

Description

floatThe maximum impulse that can be applied.

Remarks

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