Rapier C — 2D / f32 0.36.0+c.0
Loading...
Searching...
No Matches
R2CharacterControllerSettings Struct Reference

Copy of character sliding, slope, and snapping settings. More...

#include <rapier.h>

Data Fields

R2Bool slide
 Whether obstacle sliding is enabled.
R2Real max_slope_climb_angle
 Maximum climbable slope angle in radians.
R2Real min_slope_slide_angle
 Minimum slope angle for sliding, in radians.
R2Bool snap_to_ground
 Whether downward ground snapping is enabled.
struct R2CharacterLength snap_distance
 Maximum downward snapping distance.

Detailed Description

Copy of character sliding, slope, and snapping settings.

Field Documentation

◆ max_slope_climb_angle

R2Real R2CharacterControllerSettings::max_slope_climb_angle

Maximum climbable slope angle in radians.

◆ min_slope_slide_angle

R2Real R2CharacterControllerSettings::min_slope_slide_angle

Minimum slope angle for sliding, in radians.

◆ slide

R2Bool R2CharacterControllerSettings::slide

Whether obstacle sliding is enabled.

◆ snap_distance

struct R2CharacterLength R2CharacterControllerSettings::snap_distance

Maximum downward snapping distance.

◆ snap_to_ground

R2Bool R2CharacterControllerSettings::snap_to_ground

Whether downward ground snapping is enabled.


The documentation for this struct was generated from the following file: