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분최근 업데이트: 한 달 전
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.