Skip to content

PhysicsBodyComponent.IsTeleporting Property

Definition

Namespace: Brine2D.ECS.Components

Set by Teleport\(Vector2, Nullable<float>\) to tell the physics system to reset the kinematic previous-position and previous-rotation records, suppressing the phantom velocity that would otherwise be derived from the discontinuous displacement.

C#
internal bool IsTeleporting { internal get; internal set; }

Property Value

System.Boolean