minPolygonCollinearDistance
Get the minimum perpendicular distance a vertex must be from the line through its neighbors in a polygon built from arbitrary vertices. A vertex closer than this is treated as collinear and removed when the polygon is built. This value is 2.0f * _linearSlop.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static float minPolygonCollinearDistance { get; }