기술 자료

Unity Engine

Unity Engine

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분최근 업데이트: 21일 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useAdjacentEndPoint { get; set; }

Remarks

Additional Resources: EdgeCollider2D.adjacentEndPoint