Skip to content

ShapeCastHit.Distance Property

Definition

Namespace: Brine2D.Physics

Distance from the sweep origin to the hit point in pixels (Fraction * maxDistance passed to the query).

public float Distance { get; init; }

Property Value

System.Single