Version: 2023.1

EdgeCollider2D.useAdjacentEndPoint

切换到手册
public bool useAdjacentEndPoint ;

描述

Set this to true to use the 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 adjacentEndPoint, and the collision normal becomes the direction of motion of the collision.

See Also: adjacentEndPoint.