Skip to content

KinematicCharacterBody.CeilingAngleLimit Property

Definition

Namespace: Brine2D.ECS.Components

Maximum angle \(radians\) between the contact normal and the down direction for a surface to count as a ceiling. Default is 0.8 rad \(~46°\). Contacts whose downward dot product is less than cos(CeilingAngleLimit) are not classified as ceiling.

C#
public float CeilingAngleLimit { get; set; }

Property Value

System.Single