Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useOutsideNormalAngle

Sets the contact filter to filter within the _minNormalAngle and _maxNormalAngle range, or outside that range.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useOutsideNormalAngle

Remarks

ContactFilter2D.useOutsideNormalAngle uses the range between _minNormalAngle and _maxNormalAngle to filter the normal angle. Set
useOutsideNormalAngle
to true to only return normal angle outside that range. Set
useOutsideNormalAngle
to false to only return normal angle within that range. It is false by default.