This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
chore(deps): update rapier to 0.16.1 (minor) #321
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.13.0
->0.16.1
0.13.0
->0.16.1
Release Notes
dimforge/rapier
v0.16.1
Compare Source
Fix
docs.rs
.v0.16.0
Compare Source
Added
Copy
forCharacterCollision
.From
trait) betweenGroup
andu32
.ColliderBuilder::trimesh_with_flags
to build a triangle mesh with specific flags controllingits initialization.
Modified
AABB
toAabb
to comply with Rust’s style guide.parry 0.11
.Fix
balls from moving straight.
v0.15.0
Added
control
module. The character controller currentlysupports the following features:
serde
serialization/deserialization forCollisionEvents
when theserde-serialize
feature is enabledModified
Collider::set_rotation
,RigidBody::set_rotation
, andRigidBody::set_next_kinematic_rotation
nowtake a rotation (
UnitQuaternion
orUnitComplex
) instead of a vector/angle.QueryFilter::exclude_dynamic
is now a static method (theself
argument was removed).QueryPipeline::cast_shape
method has a new argumentstop_at_penertation
. If set tofalse
, the linearshape-cast won’t immediately stop if the shape is penetrating another shape at its starting point and its
trajectory is such that it’s on a path to exist that penetration state.
InteractionGroups
is now a set of explicit bit flags instead of a rawu32
.position.
v0.14.0
Fixed
contact manifolds (like triangle meshes).
CollisionPipeline
if a collider is both added and removed before a callto
CollisionPipeline::step
.Modified
RigidBodyBuilder::additional_mass
method will now result in the additional angular inertiabeing automatically computed based on the shapes of the colliders attached to the rigid-body.
RigidBodyBuilder::mass
,::principal_angular_inertia
,::principal_inertia
.RigidBodyBuilder::additional_principal_angular_inertia
. UseRigidBodyBuilder::additional_mass_properties
instead.Collider::density
method now always returns aReal
(instead of anOption<Real>
).RigidBody::restrict_rotations
andRigidBody::restrict_translations
toRigidBody::set_enabled_rotations
andRigidBody::set_enabled_translations
.RigidBodyBuilder::restrict_rotations
andRigidBodyBuilder::restrict_translations
toRigidBodyBuilder::enabled_rotations
andRigidBodyBuilder::enabled_translations
.Added
RigidBody::recompute_mass_properties_from_colliders
to force the immediate computationof a rigid-body’s mass properties (instead of waiting for them to be recomputed during the next
timestep). This is useful to be able to read immediately the result of a change of a rigid-body
additional mass-properties or a change of one of its collider’s mass-properties.
RigidBody::set_additional_mass
to set the additional mass for the collider. The additionalangular inertia is automatically computed based on the attached colliders shapes.
Collider::set_density
,::set_mass
,set_mass_properties
, to alter a collider’s massproperties. Note that
::set_mass
will result in the collider’s angular inertia being automaticallycomputed based on this mass and on its shape.
ColliderBuilder::mass
to set the mass of the collider instead of its density. Its angularinertia tensor will be automatically computed based on this mass and its shape.
Collider::mass
andCollider::volume
to retrieve the mass or volume of a collider.QueryFilter
that is now used by all the scene queries instead of theCollisionGroups
andFn(ColliderHandle) -> bool
closure. This
QueryFilter
provides easy access to most common filtering strategies (e.g. dynamic bodies only,excluding one particular collider, etc.) for scene queries.
EventHandler
trait has been modified to includethe method
EventHandler::handle_contact_force_event
. Contact force events are generated whenever the sum of themagnitudes of all the forces between two colliders is greater than any of their
Collider::contact_force_event_threshold
values (only the colliders wit theActiveEvents::CONTACT_FORCE_EVENT
flagset are taken into account for this threshold).
ContactForceEvent
struct that is generated by theChannelEventCollector
to reportcontact force events.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.