Skip to content

PhysicsBodyComponent.PlatformNormalDirection Property

Definition

Namespace: Brine2D.ECS.Components

The outward normal of the solid surface in world space \(does not need to be normalized\). Default is (0, -1) — solid from above in Y-down screen space. Only used when IsOneWayPlatform is true.

C#
public System.Numerics.Vector2 PlatformNormalDirection { get; set; }

Property Value

System.Numerics.Vector2