Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate bevy_rapier2d to 0.28.0 #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2023

This PR contains the following updates:

Package Type Update Change
bevy_rapier2d (source) dependencies minor 0.19.0 -> 0.28.0

Release Notes

dimforge/bevy_rapier (bevy_rapier2d)

v0.28.0

Compare Source

Modified
  • RapierContext has been split in multiple Components:
    • RapierContextColliders
    • RapierContextJoints
    • RapierContextSimulation
    • RapierRigidBodySet
  • Renamed DefaultReadRapierContext and DefaultWriteRapierContext.
    • Use ReadRapierContext and its associated single() method.

v0.27.0

Compare Source

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 of Rapier.

Modified
  • Update from rapier 0.19 to rapier 0.21.
  • Update to nalgebra 0.33.
  • Update to bevy 0.14.
  • Renamed has_any_active_contacts to has_any_active_contact for better consistency with rapier.
  • ColliderDebugColor's property is now a bevy::color::Hsla.
  • ImpulseJoint::data and MultibodyJoint::data are now a more detailed enum TypedJoint instead of a GenericJoint.
    You can still access its inner GenericJoint with .as_ref() or as_mut().
  • data fields from all joints (FixedJoint, …) are now public, and their getters removed.
Added
  • Derive Debug for LockedAxes.
  • Expose is_sliding_down_slope to both MoveShapeOutput and KinematicCharacterControllerOutput.
  • Added a First Person Shooter character_controller example for bevy_rapier3d.
  • Added serialization support for CollisionGroups, SolverGroups, ContactForceEventThreshold, ContactSkin.
  • Added RapierContext::context.impulse_revolute_joint_angle to compute the angle along a revolute joint’s principal axis.
Fix
  • Fix rigidbodies never going to sleep when a scale was applied to their Transform.
  • Fix losing information about hit details when converting from ShapeCastHit in parry to ShapeCastHit in bevy_rapier

v0.26.0

Compare Source

This is an update to Rapier 0.19 which includes several stability improvements
and character-controller fix. Please have a look at the
0.19 changelog of Rapier.

Modified
  • Renamed Toi/ToiDetails to ShapeCastHit/ShapeCastHitDetails.
  • Switch to rapier’s built-in length_unit instead of explicitly scaling shapes with physics_scale.
  • Linear shape-casting functions now take a ShapeCastOptions parameter that describes how the shape-cast should
    behave on special-cases (like toi == 0).
  • Internal edge correction is now opt-in with the TriMeshFlags::FIX_INTERNAL_EDGES and
    HeightFieldFlags::FIX_INTERNAL_EDGES flags.
  • Rename RayIntersection::toi to RayIntersection::time_of_impact.
Fix
  • Fix character controller occasionally getting stuck against vertical walls.
Added
  • Add the SoftCcd (for rigid-bodies) and ContactSkin (for colliders) components. See
    rapier#625 for details on the features they enable.

v0.25.0

Modified
  • Update to bevy 0.13.

v0.24.0

The main highlight of this release is the implementation of a new non-linear constraints solver for better stability
and increased convergence rates. See #​579 for additional information.

In order to adjust the number of iterations of the new solver, simply
adjust IntegrationParameters::num_solver_iterations.
If recovering the old solver behavior is useful to you, call IntegrationParameters::switch_to_standard_pgs_solver().

It is now possible to specify some additional solver iteration for specific rigid-bodies (and everything interacting
with it directly or indirectly through contacts and joints) by adding the AdditionalSolverIterations component to the
same entity as the rigid-body. This allows for higher-accuracy on subsets of the physics scene without affecting
performance of the other parts of the simulation.

Fix
  • Fix bug causing angular joint limits and motor to sometimes only take into account half of the angles specified by the
    user.
  • Fix bug where collisions would not be re-computed after a collider was re-enabled.
Added
  • Add a SpringJoint and SpringJointBuilder for simulating springs with customizable stiffness and damping
    coefficients.
  • Fix incorrect update of angular degrees-of-freedoms on spherical multibody joints.
  • Fix debug-renderer showing moved kinematic rigid-bodies only at their initial position.
Modified
  • Rename RapierContext::contacts_with to RapierContext::contact_pairs_with.
  • Rename RapierContext::intersections_with to RapierContext::intersection_pairs_with.
  • Collisions between the character controller and sensors are now disabled by default.

v0.23.0

Compare Source

Modified
  • Update to Bevy 0.12
Added
  • ColliderView::as_typed_shape and ::to_shared_shape to convert a ColliderView to a parry’s
    TypedShape or SharedShape. The From trait has also been implemented accordingly.
  • Implement Copy for ColliderView and all the other non-mut shape views.
  • Add RapierContext::rigid_body_colliders to retrieve all collider entities attached to this rigid-body.
  • Add RapierPhysicsPlugin::in_fixed_schedule/::in_schedude to add rapier’s systems to a fixed/custom
    schedule.
  • Re-export JointAxesMask, JointAxis, MotorModel.
  • Implement Deref for ReadMassProperties.
  • Expose the stop_at_penetration parameter of shape-casting, to enable or ignore overlaps at the initial position
    of the shape.
Fix
  • Fix RapierContext::integration_parameters::dt not being updated on non-fixed timestep modes.
  • Fix debug-renderer lagging one frame behind.
  • Fix Collider Transform rotation change not being taken into account by the physics engine.
  • Fix automatic update of ReadMassProperties.

v0.22.0

Compare Source

Modified
  • Update to Bevy 0.11.
  • Disabled rigid-bodies are no longer synchronized with the rapier backend.
  • Switch to bevy’s gizmo system for the debug-renderer. This removes the vendored debug lines plugin.
Added
  • Add a joint for simulating ropes: the RopeJoint.
  • Add Velocity::linear_velocity_at_point to calculate the linear velocity at the given world-space point.
  • Add the ComputedColliderShape::ConvexHull variant to automatically calculate the convex-hull of an imported mesh.
  • Implement Reflect for the debug-renderer.
Fix
  • Fix broken interpolation for rigid-bodies with the TransformInterpolation component.
  • Fix compilation when bevy_rapier is being used with headless bevy.
  • Improved performance of the writeback system by not iterating on non-rigid-body entities.
  • Fix typo by renaming CuboidViewMut::sed_half_extents to set_half_extents.
  • Properly scale parented collider’s offset based on changes on its ColliderScale.

v0.21.0

Compare Source

Modified
  • Update to Bevy 0.10.
  • The PhysicsHooksWithQuery trait has been renamed to by the BevyPhysicsHooks.
  • Bevy resources and queries accessed by the physics hook are now specified by the implementer of BevyPhysicsHooks
    which must derive Bevy’s SystemParam trait. This implies that the physics hook’s filter_contact_pair (and
    all its other methods) no longer take the Bevy Query as argument. Queries and resources are accessed through
    self.
  • Rename PhysicsStages to PhysicsSet.

v0.20.0

Compare Source

Added
  • Add the RigidBodyDisabled and ColliderDisabled component that can be inserted to disable a rigid-body
    or collider without removing it from the scene.
Fix
  • Fix spawn position of colliders without rigid bodies.
  • Fix overriding enabled flag in debug render.
Modified
  • Make debug-rendering enabled by default when inserting the RapierDebugRenderPlugin plugin with its default
    configuration.
  • The debug-render feature has been replaced by two features: debug-render-2d and debug-render-3d. For example,
    using debug-render-2d with bevy_rapier3d, the debug-render will work with 2D cameras (useful, e.g., for top-down
    games
    with 3D graphics).
  • In order to facilitate the use of bevy_rapier in headless mode, the AsyncCollider and AsyncSceneCollider
    components were moved behind the async-collider feature (enabled by default). Disabling that feature will
    make bevy_rapier work even with the MinimalPlugins inserted instead of the DefaultPlugins.
  • Corrected an API inconsistency where bevy_rapier components would sometimes require an InteracitonGroup type
    defined in
    rapier. It has been replaced by the CollisionGroup type (defined in bevy_rapier).
  • Velocity::zero,linear,angular are now const-fn.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jan 15, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `bevy_rapier2d`.
    ... required by package `LastKingdom v0.1.0 (/tmp/renovate/repos/github/droog126/lastkingdom2)`
    ... which satisfies path dependency `LastKingdom` (locked to 0.1.0) of package `wasm-launcher v0.1.0 (/tmp/renovate/repos/github/droog126/lastkingdom2/launchers/wasm)`
versions that meet the requirements `^0.26.0` are: 0.26.0

the package `LastKingdom` depends on `bevy_rapier2d`, with features: `debug-render` but `bevy_rapier2d` does not have these features.


failed to select a version for `bevy_rapier2d` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 67803dc to 54389d0 Compare February 1, 2023 23:34
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 54389d0 to 97ecd36 Compare February 9, 2023 02:58
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 2 times, most recently from 4f4e2a1 to f150a0e Compare March 7, 2023 16:24
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.20.0 Update Rust crate bevy_rapier2d to 0.21.0 Mar 7, 2023
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from f150a0e to 9942d7e Compare March 25, 2023 10:01
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 2 times, most recently from f748ad6 to db1dec9 Compare April 13, 2023 12:30
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from db1dec9 to 940d664 Compare May 9, 2023 19:04
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 2 times, most recently from e287b43 to 4beb4c3 Compare May 28, 2023 14:35
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 4beb4c3 to 58cd0de Compare July 10, 2023 09:46
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.21.0 Update Rust crate bevy_rapier2d to 0.22.0 Jul 10, 2023
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 3 times, most recently from 92106c2 to bdc2c10 Compare September 10, 2023 06:13
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 5 times, most recently from 2699417 to 79bfeb8 Compare November 1, 2023 19:01
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 79bfeb8 to 62562d6 Compare November 8, 2023 22:07
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.22.0 Update Rust crate bevy_rapier2d to 0.23.0 Nov 8, 2023
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 62562d6 to 2397487 Compare November 29, 2023 03:00
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 3 times, most recently from 84800c8 to 2b81b39 Compare January 4, 2024 14:34
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 2 times, most recently from a20956e to fe3c88c Compare January 14, 2024 00:57
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 2 times, most recently from 337078d to e87eef9 Compare January 27, 2024 19:58
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.23.0 Update Rust crate bevy_rapier2d to 0.24.0 Jan 27, 2024
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from e87eef9 to 3d4ccb7 Compare January 29, 2024 15:41
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 3d4ccb7 to 69e5506 Compare February 7, 2024 01:03
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 69e5506 to 0eed4a3 Compare February 19, 2024 10:47
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.24.0 Update Rust crate bevy_rapier2d to 0.25.0 Feb 19, 2024
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch 2 times, most recently from eae6128 to 9f7ab72 Compare February 23, 2024 09:05
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 9f7ab72 to 2ce52a3 Compare May 5, 2024 20:03
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.25.0 Update Rust crate bevy_rapier2d to 0.26.0 May 5, 2024
@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 2ce52a3 to 7a54e6c Compare July 7, 2024 21:46
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.26.0 Update Rust crate bevy_rapier2d to 0.27.0 Jul 7, 2024
Copy link
Contributor Author

renovate bot commented Jul 7, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `bevy_rapier2d`.
    ... required by package `LastKingdom v0.1.0 (/tmp/renovate/repos/github/droog126/lastkingdom2)`
    ... which satisfies path dependency `LastKingdom` (locked to 0.1.0) of package `wasm-launcher v0.1.0 (/tmp/renovate/repos/github/droog126/lastkingdom2/launchers/wasm)`
versions that meet the requirements `^0.28.0` are: 0.28.0

the package `LastKingdom` depends on `bevy_rapier2d`, with features: `debug-render` but `bevy_rapier2d` does not have these features.


failed to select a version for `bevy_rapier2d` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/bevy_rapier2d-0.x branch from 7a54e6c to fbe9335 Compare December 9, 2024 11:41
@renovate renovate bot changed the title Update Rust crate bevy_rapier2d to 0.27.0 Update Rust crate bevy_rapier2d to 0.28.0 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants