Skip to content

KinematicCharacterBody.LastMoveAndCollideHit Property

Definition

Namespace: Brine2D.ECS.Components

The result of the last MoveAndCollide\(Vector2\) call, or null when there was no collision. Set by the pre-step system after processing PendingMoveAndCollide. Contains full shape-cast detail including sub-shape information on compound bodies.

C#
public System.Nullable<Brine2D.Physics.ShapeCastHit> LastMoveAndCollideHit { get; internal set; }

Property Value

System.Nullable<ShapeCastHit>