dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.77k stars 235 forks source link

add reapply_lost_speed to KinematicCharacterController #569

Open ntibi opened 6 months ago

ntibi commented 6 months ago

Adds reapply_lost_speed: bool to KinematicCharacterController

When set to true, the velocity lost by sliding will be reapplied to the corrected direction so the character moves at the same speed wether it's sliding or not