Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IgnoreContact(int)

Ignore the specified contact point in this contact pair.
Read time 1 minuteLast updated 4 days ago

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.