Skip to content

CollisionContact.ContactPointCount Property

Definition

Namespace: Brine2D.Collision

Number of contact points available (0, 1, or 2). - 0 — the manifold had no points (e.g. an initial speculative contact). - 1 — a single contact point; ContactPoint2 is zero. - 2 — two contact points, useful for edge-on-face contacts such as a box resting flat on a surface.

public int ContactPointCount { get; init; }

Property Value

System.Int32