Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


maxNormalAngle

Sets the contact filter to filter the results to only include contacts with collision normal angles that are less than this angle.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float maxNormalAngle

Remarks

This is only used if _useNormalAngle is true. If the
maxNormalAngle
is set to -Mathf.Infinity or Mathf.Infinity then the highest possible angle is used.
Additional Resources: _normal