Skip to content

KinematicCharacterBody.StopOnSlope Property

Definition

Namespace: Brine2D.ECS.Components

When true, the character will not slide down a sloped floor when Velocity has no component pushing into the slope. Useful for holding a character in place on ramps without requiring friction. Default is false.

public bool StopOnSlope { get; set; }

Property Value

System.Boolean