-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate 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:
The artifact failure details are included below: File name: Cargo.lock
|
67803dc
to
54389d0
Compare
54389d0
to
97ecd36
Compare
4f4e2a1
to
f150a0e
Compare
f150a0e
to
9942d7e
Compare
f748ad6
to
db1dec9
Compare
db1dec9
to
940d664
Compare
e287b43
to
4beb4c3
Compare
4beb4c3
to
58cd0de
Compare
92106c2
to
bdc2c10
Compare
2699417
to
79bfeb8
Compare
79bfeb8
to
62562d6
Compare
62562d6
to
2397487
Compare
84800c8
to
2b81b39
Compare
a20956e
to
fe3c88c
Compare
337078d
to
e87eef9
Compare
e87eef9
to
3d4ccb7
Compare
3d4ccb7
to
69e5506
Compare
69e5506
to
0eed4a3
Compare
eae6128
to
9f7ab72
Compare
9f7ab72
to
2ce52a3
Compare
2ce52a3
to
7a54e6c
Compare
|
7a54e6c
to
fbe9335
Compare
This PR contains the following updates:
0.19.0
->0.28.0
Release Notes
dimforge/bevy_rapier (bevy_rapier2d)
v0.28.0
Compare Source
Modified
RapierContext
has been split in multipleComponent
s:RapierContextColliders
RapierContextJoints
RapierContextSimulation
RapierRigidBodySet
DefaultReadRapierContext
andDefaultWriteRapierContext
.ReadRapierContext
and its associatedsingle()
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
0.19
to rapier0.21
.0.33
.0.14
.has_any_active_contacts
tohas_any_active_contact
for better consistency with rapier.ColliderDebugColor
's property is now abevy::color::Hsla
.ImpulseJoint::data
andMultibodyJoint::data
are now a more detailed enumTypedJoint
instead of aGenericJoint
.You can still access its inner
GenericJoint
with.as_ref()
oras_mut()
.data
fields from all joints (FixedJoint
, …) are now public, and their getters removed.Added
Debug
forLockedAxes
.is_sliding_down_slope
to bothMoveShapeOutput
andKinematicCharacterControllerOutput
.character_controller
example forbevy_rapier3d
.CollisionGroups
,SolverGroups
,ContactForceEventThreshold
,ContactSkin
.RapierContext::context.impulse_revolute_joint_angle
to compute the angle along a revolute joint’s principal axis.Fix
Transform
.ShapeCastHit
in parry toShapeCastHit
in bevy_rapierv0.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
Toi/ToiDetails
toShapeCastHit/ShapeCastHitDetails
.length_unit
instead of explicitly scaling shapes withphysics_scale
.ShapeCastOptions
parameter that describes how the shape-cast shouldbehave on special-cases (like toi == 0).
TriMeshFlags::FIX_INTERNAL_EDGES
andHeightFieldFlags::FIX_INTERNAL_EDGES
flags.RayIntersection::toi
toRayIntersection::time_of_impact
.Fix
Added
SoftCcd
(for rigid-bodies) andContactSkin
(for colliders) components. Seerapier#625 for details on the features they enable.
v0.25.0
Modified
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 thesame 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
user.
Added
SpringJoint
andSpringJointBuilder
for simulating springs with customizable stiffness and dampingcoefficients.
Modified
RapierContext::contacts_with
toRapierContext::contact_pairs_with
.RapierContext::intersections_with
toRapierContext::intersection_pairs_with
.v0.23.0
Compare Source
Modified
Added
ColliderView::as_typed_shape
and::to_shared_shape
to convert aColliderView
to a parry’sTypedShape
orSharedShape
. TheFrom
trait has also been implemented accordingly.Copy
forColliderView
and all the other non-mut shape views.RapierContext::rigid_body_colliders
to retrieve all collider entities attached to this rigid-body.RapierPhysicsPlugin::in_fixed_schedule
/::in_schedude
to add rapier’s systems to a fixed/customschedule.
JointAxesMask
,JointAxis
,MotorModel
.Deref
forReadMassProperties
.stop_at_penetration
parameter of shape-casting, to enable or ignore overlaps at the initial positionof the shape.
Fix
RapierContext::integration_parameters::dt
not being updated on non-fixed timestep modes.Transform
rotation change not being taken into account by the physics engine.ReadMassProperties
.v0.22.0
Compare Source
Modified
Added
RopeJoint
.Velocity::linear_velocity_at_point
to calculate the linear velocity at the given world-space point.ComputedColliderShape::ConvexHull
variant to automatically calculate the convex-hull of an imported mesh.Reflect
for the debug-renderer.Fix
TransformInterpolation
component.bevy_rapier
is being used with headless bevy.CuboidViewMut::sed_half_extents
toset_half_extents
.ColliderScale
.v0.21.0
Compare Source
Modified
PhysicsHooksWithQuery
trait has been renamed to by theBevyPhysicsHooks
.BevyPhysicsHooks
which must derive Bevy’s
SystemParam
trait. This implies that the physics hook’sfilter_contact_pair
(andall its other methods) no longer take the Bevy
Query
as argument. Queries and resources are accessed throughself
.PhysicsStages
toPhysicsSet
.v0.20.0
Compare Source
Added
RigidBodyDisabled
andColliderDisabled
component that can be inserted to disable a rigid-bodyor collider without removing it from the scene.
Fix
Modified
RapierDebugRenderPlugin
plugin with its defaultconfiguration.
debug-render
feature has been replaced by two features:debug-render-2d
anddebug-render-3d
. For example,using
debug-render-2d
withbevy_rapier3d
, the debug-render will work with 2D cameras (useful, e.g., for top-downgames
with 3D graphics).
bevy_rapier
in headless mode, theAsyncCollider
andAsyncSceneCollider
components were moved behind the
async-collider
feature (enabled by default). Disabling that feature willmake
bevy_rapier
work even with theMinimalPlugins
inserted instead of theDefaultPlugins
.bevy_rapier
components would sometimes require anInteracitonGroup
typedefined in
rapier
. It has been replaced by theCollisionGroup
type (defined inbevy_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.
This PR was generated by Mend Renovate. View the repository job log.