KinematicCharacterBody.UpDirection Property
Definition¶
Namespace: Brine2D.ECS.Components
The direction the character treats as "up" for floor detection and snap-to-floor.
When null (default), the direction is derived each tick from the world gravity
vector — correct for standard gravity. Override this for wall-walking, ceiling-walking,
or per-character gravity effects.
public System.Nullable<System.Numerics.Vector2> UpDirection { get; set; }