Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
## Unreleased
## v0.24.0 (10 April 2025)

### Added

- `IntegrationParameters` now implements `PartialEq`.

### Modified

- Update dependencies (including `parry` 0.19).

## v0.23.1 (05 March 2025)

### Added
Expand Down
4 changes: 2 additions & 2 deletions crates/rapier2d-f64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier2d-f64"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "2-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier2d"
Expand Down Expand Up @@ -68,7 +68,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry2d-f64 = "0.18.0"
parry2d-f64 = "0.19.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/rapier2d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier2d"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "2-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier2d"
Expand Down Expand Up @@ -69,7 +69,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry2d = "0.18.0"
parry2d = "0.19.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/rapier3d-f64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier3d-f64"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d"
Expand Down Expand Up @@ -71,7 +71,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry3d-f64 = "0.18.0"
parry3d-f64 = "0.19.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/rapier3d-meshloader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier3d-meshloader"
version = "0.4.0"
version = "0.5.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "STL file loader for the 3D rapier physics engine."
documentation = "https://docs.rs/rapier3d-meshloader"
Expand Down Expand Up @@ -29,4 +29,4 @@ thiserror = "2"
profiling = "1.0"
mesh-loader = "0.1.12"

rapier3d = { version = "0.23", path = "../rapier3d" }
rapier3d = { version = "0.24", path = "../rapier3d" }
16 changes: 8 additions & 8 deletions crates/rapier3d-meshloader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ pub enum MeshLoaderError {
/// # Parameters
/// - `path`: the file’s path.
/// - `converter`: controls how the shapes are computed from the content. In particular, it lets
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
/// bounding box, etc.
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
/// bounding box, etc.
/// - `scale`: the scaling factor applied to the geometry input to the `converter`. This scale will
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
/// in [`LoadedShape::raw_mesh`] remains unscaled.
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
/// in [`LoadedShape::raw_mesh`] remains unscaled.
pub fn load_from_path(
path: impl AsRef<Path>,
converter: &MeshConverter,
Expand All @@ -63,11 +63,11 @@ pub fn load_from_path(
/// # Parameters
/// - `raw_mesh`: the raw mesh.
/// - `converter`: controls how the shape is computed from the STL content. In particular, it lets
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
/// bounding box, etc.
/// you specify if the computed [`SharedShape`] is a triangle mesh, its convex hull,
/// bounding box, etc.
/// - `scale`: the scaling factor applied to the geometry input to the `converter`. This scale will
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
/// in [`LoadedShape::raw_mesh`] remains unscaled.
/// affect at the geometric level the [`LoadedShape::shape`]. Note that raw mesh value stored
/// in [`LoadedShape::raw_mesh`] remains unscaled.
pub fn load_from_raw_mesh(
raw_mesh: &Mesh,
converter: &MeshConverter,
Expand Down
6 changes: 3 additions & 3 deletions crates/rapier3d-urdf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier3d-urdf"
version = "0.4.0"
version = "0.5.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "URDF file loader for the 3D rapier physics engine."
documentation = "https://docs.rs/rapier3d-urdf"
Expand Down Expand Up @@ -31,5 +31,5 @@ anyhow = "1"
bitflags = "2"
urdf-rs = "0.9"

rapier3d = { version = "0.23", path = "../rapier3d" }
rapier3d-meshloader = { version = "0.4.0", path = "../rapier3d-meshloader", default-features = false, optional = true }
rapier3d = { version = "0.24", path = "../rapier3d" }
rapier3d-meshloader = { version = "0.5.0", path = "../rapier3d-meshloader", default-features = false, optional = true }
14 changes: 7 additions & 7 deletions crates/rapier3d-urdf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ impl UrdfRobot {
/// - `path`: the path of the URDF file.
/// - `options`: customize the creation of rapier objects from the URDF description.
/// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path. If `mesh_dir` is `None` then the mesh directory is assumed
/// to be the same directory as the one containing the URDF file.
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path. If `mesh_dir` is `None` then the mesh directory is assumed
/// to be the same directory as the one containing the URDF file.
pub fn from_file(
path: impl AsRef<Path>,
options: UrdfLoaderOptions,
Expand All @@ -249,8 +249,8 @@ impl UrdfRobot {
/// - `str`: the string content of an URDF file.
/// - `options`: customize the creation of rapier objects from the URDF description.
/// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
pub fn from_str(
str: &str,
options: UrdfLoaderOptions,
Expand All @@ -272,8 +272,8 @@ impl UrdfRobot {
/// - `robot`: the robot loaded from an URDF file.
/// - `options`: customize the creation of rapier objects from the URDF description.
/// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
pub fn from_robot(robot: &Robot, options: UrdfLoaderOptions, mesh_dir: &Path) -> Self {
let mut name_to_link_id = HashMap::new();
let mut link_is_root = vec![true; robot.links.len()];
Expand Down
4 changes: 2 additions & 2 deletions crates/rapier3d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier3d"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "3-dimensional physics engine in Rust."
documentation = "https://docs.rs/rapier3d"
Expand Down Expand Up @@ -73,7 +73,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry3d = "0.18.0"
parry3d = "0.19.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/rapier_testbed2d-f64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed2d-f64"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
Expand Down Expand Up @@ -99,5 +99,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier2d-f64"
path = "../rapier2d-f64"
version = "0.23.0"
version = "0.24.0"
features = ["serde-serialize", "debug-render", "profiler"]
4 changes: 2 additions & 2 deletions crates/rapier_testbed2d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed2d"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
Expand Down Expand Up @@ -98,5 +98,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier2d"
path = "../rapier2d"
version = "0.23.0"
version = "0.24.0"
features = ["serde-serialize", "debug-render", "profiler"]
4 changes: 2 additions & 2 deletions crates/rapier_testbed3d-f64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed3d-f64"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "Testbed for the Rapier 3-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
Expand Down Expand Up @@ -99,5 +99,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier3d-f64"
path = "../rapier3d-f64"
version = "0.23.0"
version = "0.24.0"
features = ["serde-serialize", "debug-render", "profiler"]
4 changes: 2 additions & 2 deletions crates/rapier_testbed3d/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed3d"
version = "0.23.1"
version = "0.24.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "Testbed for the Rapier 3-dimensional physics engine in Rust."
homepage = "http://rapier.rs"
Expand Down Expand Up @@ -97,5 +97,5 @@ bevy = { version = "0.15", default-features = false, features = [
[dependencies.rapier]
package = "rapier3d"
path = "../rapier3d"
version = "0.23.0"
version = "0.24.0"
features = ["serde-serialize", "debug-render", "profiler"]
4 changes: 2 additions & 2 deletions src/pipeline/event_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ pub trait EventHandler: Send + Sync {
/// * `bodies` - The set of rigid-bodies.
/// * `colliders` - The set of colliders.
/// * `contact_pair` - The current state of contacts between the two colliders. This is set to `None`
/// if at least one of the collider is a sensor (in which case no contact information
/// is ever computed).
/// if at least one of the collider is a sensor (in which case no contact information
/// is ever computed).
fn handle_collision_event(
&self,
bodies: &RigidBodySet,
Expand Down
Loading