Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 12, 2026

Updates the requirements on rapier3d to permit the latest version.

Changelog

Sourced from rapier3d's changelog.

v0.31.0 (09 Jan. 2026)

Modified

  • Breaking: Migrate math types from nalgebra to glam (via parry). The main type aliases are now:
    • Isometry<Real>Pose (glamx Pose2/3)
    • Point<Real>Vector for world-space positions (parry no longer distinguishes Point from Vector)
    • Rotation<Real>Rotation (glamx Rot2 or Quat)
    • Translation<Real> → removed, use Pose::from_translation()
    • nalgebra is still used internally for SIMD code and multibody Jacobians (via SimdVector<N>, SimdPose<N>, DVector, DMatrix).
  • Breaking: Several getters now return by value instead of by reference:
    • RigidBody::linvel() returns Vector instead of &Vector<Real>
    • RigidBody::angvel() returns AngVector instead of &Vector<Real> (3D) or Real (2D)
    • RigidBody::center_of_mass() returns Vector instead of &Point<Real>
    • RigidBody::local_center_of_mass() returns Vector instead of &Point<Real>
    • Collider::translation() returns Vector instead of &Vector<Real>
    • Collider::rotation() returns Rotation instead of &Rotation<Real>
  • Breaking: DebugRenderBackend::draw_line signature changed: takes Vector instead of Point<Real> for line endpoints.
  • Breaking: DebugRenderBackend::draw_polyline and draw_line_strip now take &Pose and Vector instead of &Isometry<Real> and &Vector<Real>.
  • Testbed migrated from Bevy to kiss3d for lighter dependencies and simpler maintenance.
  • Removed benchmarks2d and benchmarks3d crates (merged with examples2d and examples3d).

Migration guide

If your codebase currently relies on nalgebra, note that nalgebra and glamx provide type conversion. Enable the corresponding features:

  • nalgebra = { version = "0.34", features = [ "convert-glam030" ] }
  • glamx = { version = "0.1", features = ["nalgebra"] } then you can convert between glam and nalgebra types using .into().
  1. Type changes: Replace Isometry<Real> with Pose, and Point<Real> with Vector for positions.
  2. Pose construction:
    • Isometry::identity()Pose::IDENTITY
    • Isometry::translation(x, y, z)Pose::from_translation(Vector::new(x, y, z))
    • Isometry::rotation(axis_angle)Pose::from_rotation(Rotation::from_scaled_axis(axis_angle))
    • isometry.translation.vectorpose.translation
    • isometry.rotation.scaled_axis()pose.rotation.to_scaled_axis()
  3. Getter usage: Remove & or .clone() when using linvel(), angvel(), center_of_mass(), translation(), rotation() since they now return by value.
  4. Debug renderer: Update DebugRenderBackend implementations to use Vector instead of Point<Real>.
  5. glam access: The glamx crate is re-exported as rapier::glamx for direct glam type access if needed.

v0.31.0 (21 Nov. 2025)

  • InteractionGroups struct now contains InteractionTestMode. Continues rapier/pull/170 for rapier/issues/622
  • InteractionGroups constructor now requires an InteractionTestMode parameter. If you want same behaviour as before, use InteractionTestMode::And (eg. InteractionGroups::new(Group::GROUP_1, Group::GROUP_1, InteractionTestMode::And))
  • CoefficientCombineRule::Min - now makes sure it uses a non zero value as result by using coeff1.min(coeff2).abs()

... (truncated)

Commits
  • 0b7c3b3 feat: migrate to glam whenever relevant + migrate testbed to kiss3d instead o...
  • 48de838 feat: persistent islands + manifold reduction (#895)
  • 1341329 Release v0.31.0 (#904)
  • da2b0a8 fix snapshots in 2d examples (#875)
  • 9450721 Making SolverGenericContact's contact_id public. (#888)
  • e40d3a9 Add joint softness per joint (#901)
  • 5f687b0 Additional PinSlotJoint 2D implementation with DOF: 1 translation + 1 rotat...
  • eb62d2f Make Broadphase Serializable to Json (#899)
  • ef5dcac Fix user-change handling for colliders as well as disabled colliders (#900)
  • a68d0c6 Expose ColliderSet::{take_modified, take_removed} (#887)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [rapier3d](https://github.com/dimforge/rapier) to permit the latest version.
- [Changelog](https://github.com/dimforge/rapier/blob/master/CHANGELOG.md)
- [Commits](dimforge/rapier@v0.23.0...v0.32.0)

---
updated-dependencies:
- dependency-name: rapier3d
  dependency-version: 0.32.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants