useAdjacentEndPoint
Set this to true to use the EdgeCollider2D.adjacentEndPoint to form the collision normal that is used to calculate the collision response when a collision occurs at the Edge Collider's end point. Set this to false to not use the EdgeCollider2D.adjacentEndPoint, and the collision normal becomes the direction of motion of the collision.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public bool useAdjacentEndPoint { get; set; }
Remarks
Additional Resources: EdgeCollider2D.adjacentEndPoint.