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

Allowed character motion and ground-contact state. More...

#include <rapier.h>

Data Fields

struct R2Vector translation
 Allowed world-space displacement; not applied automatically.
R2Bool grounded
 Whether the character touches the ground after movement.
R2Bool is_sliding_down_slope
 Whether motion includes sliding down a non-climbable slope.

Detailed Description

Allowed character motion and ground-contact state.

Field Documentation

◆ grounded

R2Bool R2CharacterMovement::grounded

Whether the character touches the ground after movement.

◆ is_sliding_down_slope

R2Bool R2CharacterMovement::is_sliding_down_slope

Whether motion includes sliding down a non-climbable slope.

◆ translation

struct R2Vector R2CharacterMovement::translation

Allowed world-space displacement; not applied automatically.


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