Skip to content

Commit

Permalink
Update dependencies to rapier 0.21 (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz authored Jul 3, 2024
1 parent 56f9870 commit 09d6f9d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_CACHE_KEY: rust-cache-20240617
RUST_CACHE_KEY: rust-cache-20240701

jobs:
check-fmt:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## Unreleased

**This is an update from rapier 0.19 to Rapier 0.21 which includes several stability improvements
and new features. Please have a look at the
[0.20 and 0.21 changelogs](https://github.com/dimforge/rapier/blob/master/CHANGELOG.md) of Rapier.**

- Update to rapier `0.21`.
- Update to nalgebra `0.33`.

## v0.27.0-rc.1 (18 June 2024)

**This is an update to Rapier 0.20 which includes several stability improvements
Expand Down
4 changes: 2 additions & 2 deletions bevy_rapier2d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ async-collider = ["bevy/bevy_asset", "bevy/bevy_scene"]

[dependencies]
bevy = { version = "0.14.0-rc.3", default-features = false }
nalgebra = { version = "0.32.6", features = ["convert-glam027"] }
rapier2d = "0.20"
nalgebra = { version = "0.33", features = ["convert-glam027"] }
rapier2d = "0.21"
bitflags = "2.4"
log = "0.4"
serde = { version = "1", features = ["derive"], optional = true }
Expand Down
4 changes: 2 additions & 2 deletions bevy_rapier3d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ async-collider = ["bevy/bevy_asset", "bevy/bevy_scene"]

[dependencies]
bevy = { version = "0.14.0-rc.3", default-features = false }
nalgebra = { version = "0.32.6", features = ["convert-glam027"] }
rapier3d = "0.20"
nalgebra = { version = "0.33", features = ["convert-glam027"] }
rapier3d = "0.21"
bitflags = "2.4"
log = "0.4"
serde = { version = "1", features = ["derive"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ impl RapierContext {
query_pipeline,
(&scaled_shape).into(),
shape_mass,
collisions.iter().copied(),
collisions.iter(),
filter,
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/systems/character_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub fn update_character_controls(
&context.query_pipeline,
character_shape,
character_mass,
collisions.iter().copied(),
collisions.iter(),
filter,
)
}
Expand Down

0 comments on commit 09d6f9d

Please sign in to comment.