ドキュメント

Unity Engine

Download Unity

Unity Engine

minNormalAngle

Sets the contact filter to filter the results to only include contacts with collision normal angles that are greater than this angle.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

This is only used if ContactFilter2D.useNormalAngle is true. If the
minNormalAngle
is set to -Mathf.Infinity or Mathf.Infinity then the lowest possible angle is used.
Additional Resources: ContactPoint2D.normal