Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

Additional Resources: EdgeCollider2D.adjacentEndPoint.