Skip to content

KinematicCharacterBody.WallAngleLimit Property

Definition

Namespace: Brine2D.ECS.Components

Maximum angle (radians) between the contact normal and the wall angle limit for a surface to count as a wall. Contacts that are neither floor nor ceiling and fall within this range set IsOnWall and WallNormal. Default is System.Single.PositiveInfinity (all non-floor, non-ceiling contacts qualify).

public float WallAngleLimit { get; set; }

Property Value

System.Single