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

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

#include <rapier.h>

Data Fields

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

Detailed Description

Copy of character sliding, slope, and snapping settings.

Field Documentation

◆ max_slope_climb_angle

R3Real R3CharacterControllerSettings::max_slope_climb_angle

Maximum climbable slope angle in radians.

◆ min_slope_slide_angle

R3Real R3CharacterControllerSettings::min_slope_slide_angle

Minimum slope angle for sliding, in radians.

◆ slide

R3Bool R3CharacterControllerSettings::slide

Whether obstacle sliding is enabled.

◆ snap_distance

struct R3CharacterLength R3CharacterControllerSettings::snap_distance

Maximum downward snapping distance.

◆ snap_to_ground

R3Bool R3CharacterControllerSettings::snap_to_ground

Whether downward ground snapping is enabled.


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