Skip to content

Commit

Permalink
chore: clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed May 5, 2024
1 parent 425b2fc commit e4d6755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Fix crash when simulating a spring joint between two dynamic bodies.
- Fix kinematic bodies not being affected by gravity after being switched back to dynamic.
- Fix regression on contact force reporting from contact force events.
- Fix kinematic character controller getting stuck against vertical walls.

### Added

Expand All @@ -16,7 +17,7 @@

### Modified

**May shape-casting related functions/structs were renamed. Check out the CHANGELOG for parry 0.15.0 for
**Many shape-casting related functions/structs were renamed. Check out the CHANGELOG for parry 0.15.0 for
additional details.**

- Renamed `BroadPhase` to `BroadPhaseMultiSap`. The `BroadPhase` is now a trait that can be
Expand Down
4 changes: 2 additions & 2 deletions src/control/character_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,9 @@ impl KinematicCharacterController {
) -> Vector<Real> {
let [_vertical_input, horizontal_input] = self.split_into_components(movement_input);
let horiz_input_decomp = self.decompose_hit(&horizontal_input, &hit.toi);
let input_decomp = self.decompose_hit(&movement_input, &hit.toi);
let input_decomp = self.decompose_hit(movement_input, &hit.toi);

let decomp = self.decompose_hit(&translation_remaining, &hit.toi);
let decomp = self.decompose_hit(translation_remaining, &hit.toi);

// An object is trying to slip if the tangential movement induced by its vertical movement
// points downward.
Expand Down

0 comments on commit e4d6755

Please sign in to comment.