Skip to content

PhysicsBodyComponent.FreezePositionY Property

Definition

Namespace: Brine2D.ECS.Components

When true, the physics system zeroes the Y component of this body's linear velocity every fixed-update step. Only affects Dynamic bodies.

public bool FreezePositionY { get; set; }

Property Value

System.Boolean