Expand description
Contains the move and slide algorithm and utilities for kinematic character controllers.
See the documentation of MoveAndSlide for more information.
Structs§
- Depenetration
Config - Configuration for
MoveAndSlide::depenetrate. - Move
AndSlide - A
SystemParamfor the move and slide algorithm, also known as collide and slide or step slide. - Move
AndSlide Config - Configuration for
MoveAndSlide::move_and_slide. - Move
AndSlide HitData - Data related to a hit during
MoveAndSlide::move_and_slide. - Move
AndSlide Output - Output from
MoveAndSlide::move_and_slide. - Move
HitData - Data related to a hit during
MoveAndSlide::cast_move.
Enums§
- Move
AndSlide HitResponse - Indicates how to handle a hit detected during
MoveAndSlide::move_and_slide.
Constants§
- COS_
5_ DEGREES - Cosine of 5 degrees.
Functions§
- project_
velocity - Projects input velocity
vonto the planes defined by the givennormals. This ensures thatvelocitydoes not point into any of the planes, but along them. - project_
velocity_ bruteforce - Projects input velocity
vonto the planes defined by the givennormals. This ensures thatvelocitydoes not point into any of the planes, but along them.