SetNormalAngle(float, float)
Sets the ContactFilter2D.minNormalAngle and ContactFilter2D.maxNormalAngle filter properties and turns on normal angle filtering by setting ContactFilter2D.useNormalAngle to true.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public void SetNormalAngle(float minNormalAngle, float maxNormalAngle)
Parameters
The value used to set the ContactFilter2D.minNormalAngle.
The value used to set the ContactFilter2D.maxNormalAngle.