Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isValid

Whether the geometry describes a capsule that can be used.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly bool isValid { get; }

Remarks

Both centers must be finite and further apart than _minEdgeLength, and the radius must be finite and zero or greater. See _areEdgesValid for the center separation on its own.