SetNormalAngle(float, float)
Sets the ContactFilter2D.minNormalAngle and ContactFilter2D.maxNormalAngle filter properties and turns on normal angle filtering by setting ContactFilter2D.useNormalAngle to true.
阅读时间1 分钟最后更新于 1 个月前
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.