Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Definition

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

Remarks

Additional Resources: _adjacentEndPoint