Release v0.30.0 (#880)

* Release v0.30.0

* fix 3d voxels example build
This commit is contained in:
Sébastien Crozet
2025-10-03 18:51:57 +02:00
committed by GitHub
parent 134f433903
commit 3ac5ed4491
12 changed files with 27 additions and 22 deletions

View File

@@ -1,3 +1,8 @@
## v0.30.0 (03 Oct. 2025)
- Update to parry 0.25 (which involves breaking changes in the `Voxels` API but improves its internal storage to support
large voxel maps).
## v0.29.0 (05 Sept. 2025) ## v0.29.0 (05 Sept. 2025)
This version contains a significant rework of the internal velocity constraints solver. This version contains a significant rework of the internal velocity constraints solver.

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier2d-f64" name = "rapier2d-f64"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "2-dimensional physics engine in Rust." description = "2-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier2d" documentation = "https://docs.rs/rapier2d"
@@ -69,7 +69,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true } web-time = { version = "1.1", optional = true }
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.34" nalgebra = "0.34"
parry2d-f64 = "0.24.0" parry2d-f64 = "0.25.0"
simba = "0.9.1" simba = "0.9.1"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier2d" name = "rapier2d"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "2-dimensional physics engine in Rust." description = "2-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier2d" documentation = "https://docs.rs/rapier2d"
@@ -70,7 +70,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true } web-time = { version = "1.1", optional = true }
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.34" nalgebra = "0.34"
parry2d = "0.24.0" parry2d = "0.25.0"
simba = "0.9.1" simba = "0.9.1"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier3d-f64" name = "rapier3d-f64"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "3-dimensional physics engine in Rust." description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d" documentation = "https://docs.rs/rapier3d"
@@ -72,7 +72,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true } web-time = { version = "1.1", optional = true }
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.34" nalgebra = "0.34"
parry3d-f64 = "0.24.0" parry3d-f64 = "0.25.0"
simba = "0.9.1" simba = "0.9.1"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier3d-meshloader" name = "rapier3d-meshloader"
version = "0.10.0" version = "0.11.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "STL file loader for the 3D rapier physics engine." description = "STL file loader for the 3D rapier physics engine."
documentation = "https://docs.rs/rapier3d-meshloader" documentation = "https://docs.rs/rapier3d-meshloader"
@@ -29,4 +29,4 @@ thiserror = "2"
profiling = "1.0" profiling = "1.0"
mesh-loader = "0.1.12" mesh-loader = "0.1.12"
rapier3d = { version = "0.29.0", path = "../rapier3d" } rapier3d = { version = "0.30.0", path = "../rapier3d" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier3d-urdf" name = "rapier3d-urdf"
version = "0.10.0" version = "0.11.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "URDF file loader for the 3D rapier physics engine." description = "URDF file loader for the 3D rapier physics engine."
documentation = "https://docs.rs/rapier3d-urdf" documentation = "https://docs.rs/rapier3d-urdf"
@@ -31,5 +31,5 @@ anyhow = "1"
bitflags = "2" bitflags = "2"
urdf-rs = "0.9" urdf-rs = "0.9"
rapier3d = { version = "0.29.0", path = "../rapier3d" } rapier3d = { version = "0.30.0", path = "../rapier3d" }
rapier3d-meshloader = { version = "0.10.0", path = "../rapier3d-meshloader", default-features = false, optional = true } rapier3d-meshloader = { version = "0.11.0", path = "../rapier3d-meshloader", default-features = false, optional = true }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier3d" name = "rapier3d"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "3-dimensional physics engine in Rust." description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d" documentation = "https://docs.rs/rapier3d"
@@ -74,7 +74,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true } web-time = { version = "1.1", optional = true }
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.34" nalgebra = "0.34"
parry3d = "0.24.0" parry3d = "0.25.0"
simba = "0.9.1" simba = "0.9.1"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier_testbed2d-f64" name = "rapier_testbed2d-f64"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust." description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.rs" homepage = "http://rapier.rs"
@@ -98,5 +98,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier] [dependencies.rapier]
package = "rapier2d-f64" package = "rapier2d-f64"
path = "../rapier2d-f64" path = "../rapier2d-f64"
version = "0.29.0" version = "0.30.0"
features = ["serde-serialize", "debug-render", "profiler"] features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier_testbed2d" name = "rapier_testbed2d"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust." description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.rs" homepage = "http://rapier.rs"
@@ -98,5 +98,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier] [dependencies.rapier]
package = "rapier2d" package = "rapier2d"
path = "../rapier2d" path = "../rapier2d"
version = "0.29.0" version = "0.30.0"
features = ["serde-serialize", "debug-render", "profiler"] features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier_testbed3d-f64" name = "rapier_testbed3d-f64"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 3-dimensional physics engine in Rust." description = "Testbed for the Rapier 3-dimensional physics engine in Rust."
homepage = "http://rapier.rs" homepage = "http://rapier.rs"
@@ -99,5 +99,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier] [dependencies.rapier]
package = "rapier3d-f64" package = "rapier3d-f64"
path = "../rapier3d-f64" path = "../rapier3d-f64"
version = "0.29.0" version = "0.30.0"
features = ["serde-serialize", "debug-render", "profiler"] features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier_testbed3d" name = "rapier_testbed3d"
version = "0.29.0" version = "0.30.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"] authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
description = "Testbed for the Rapier 3-dimensional physics engine in Rust." description = "Testbed for the Rapier 3-dimensional physics engine in Rust."
homepage = "http://rapier.rs" homepage = "http://rapier.rs"
@@ -97,5 +97,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier] [dependencies.rapier]
package = "rapier3d" package = "rapier3d"
path = "../rapier3d" path = "../rapier3d"
version = "0.29.0" version = "0.30.0"
features = ["serde-serialize", "debug-render", "profiler"] features = ["serde-serialize", "debug-render", "profiler"]

View File

@@ -228,7 +228,7 @@ pub fn init_world(testbed: &mut Testbed) {
let FeatureId::Face(id) = hit.feature else { let FeatureId::Face(id) = hit.feature else {
unreachable!() unreachable!()
}; };
let voxel_key = voxels.voxel_at_id(id); let voxel_key = voxels.voxel_at_flat_id(id).unwrap();
let voxel_center = hit_collider.position() * voxels.voxel_center(voxel_key); let voxel_center = hit_collider.position() * voxels.voxel_center(voxel_key);
let voxel_size = voxels.voxel_size(); let voxel_size = voxels.voxel_size();
let hit_highlight = physics.colliders.get_mut(hit_highlight_handle).unwrap(); let hit_highlight = physics.colliders.get_mut(hit_highlight_handle).unwrap();