文档

Unity Engine

Unity Engine

IgnoreContact(int)

Ignore the specified contact point in this contact pair.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void IgnoreContact(int i)

Parameters

Index of the contact point.

Remarks

Note that this is the same as setting the maximum impulse to be applied at this contact point to zero.