I opened an issue over on bevy_rapier, but since the fix is in this repo, I'm opening an issue here as well.
It looks like slope climbing is completely broken due to the check with self.max_slope_climb_angle being reversed. I haven't tried this on any actual slopes, but this breaks movement along vertical and near vertical walls.
if climbing && angle_with_floor >= self.max_slope_climb_angle {
// Prevent horizontal movement from pushing through the slope.
vertical_translation
} else if !climbing && angle_with_floor <= self.min_slope_slide_angle {
the fix is simple at least:
if climbing && angle_with_floor <= self.max_slope_climb_angle {
I opened an issue over on
bevy_rapier
, but since the fix is in this repo, I'm opening an issue here as well.It looks like slope climbing is completely broken due to the check with
self.max_slope_climb_angle
being reversed. I haven't tried this on any actual slopes, but this breaks movement along vertical and near vertical walls.the fix is simple at least:
I'll submit a PR.