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.