jcornaz / heron

[DISCONTINUED] An ergonomic physics API for bevy games
MIT License
292 stars 44 forks source link

chore(deps): update rapier2d requirement from ^0.5.0 to ^0.6.1 #51

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on rapier2d to permit the latest version.

Changelog

Sourced from rapier2d's changelog.

v0.6.1

Fixed

  • Fix a determinism problem that may happen after snapshot restoration, if a rigid-body is sleeping at the time the snapshot is taken.

v0.6.0

Added

The support of dominance groups have been added. Each rigid-body is part of a dominance group in [-127; 127] (the default is 0). If two rigid-body are in contact, the one with the highest dominance will act as if it has an infinite mass, making it immune to the forces the other body would apply on it. See #122 for further details.

The support for contact modification has been added. This can bee used to simulate conveyor belts, one-way platforms and other non-physical effects. It can also be used to simulate materials with variable friction and restitution coefficient on a single collider. See #120 for further details.

The support for joint motors have been added. This can be used to control the position and/or velocity of a joint based on a spring-like equation. See #119 for further details.

Removed

  • The ContactPairFilter and IntersectionPairFilter traits have been removed. They are both combined in a single new trait: PhysicsHooks.

v0.5.0

In this release we are dropping ncollide and use our new crate parry instead! This comes with a lot of new features, as well as two new crates: rapier2d-f64 and rapier3d-f64 for physics simulation with 64-bits floats.

Added

  • Added a RAPIER.version() function at the root of the package to retrieve the version of Rapier as a string.

Several geometric queries have been added to the QueryPipeline:

  • QueryPipeline::intersections_with_ray: get all colliders intersecting a ray.
  • QueryPipeline::intersection_with_shape: get one collider intersecting a shape.
  • QueryPipeline::project_point: get the projection of a point on the closest collider.
  • QueryPipeline::intersections_with_point: get all the colliders containing a point.
  • QueryPipeline::cast_shape: get the first collider intersecting a shape moving linearly (aka. sweep test).
  • QueryPipeline::intersections_with_shape: get all the colliders intersecting a shape.

Several new shape types are now supported:

  • RoundCuboid, Segment, Triangle, RoundTriangle, Polyline, ConvexPolygon (2D only), RoundConvexPolygon (2D only), ConvexPolyhedron (3D only), RoundConvexPolyhedron (3D only), RoundCone (3D only).

It is possible to build ColliderDesc using these new shapes:

  • ColliderBuilder::round_cuboid, ColliderBuilder::segment, ColliderBuilder::triangle, ColliderBuilder::round_triangle,

... (truncated)

Commits
  • 449ed99 Release v0.6.1
  • a2da237 Merge pull request #130 from dimforge/snapshot_determinism
  • e45342d Fix determinism issue after restoring a snapshot.
  • 4cd6819 Release testbed v0.6.0
  • 5d0aff0 Merge pull request #129 from dimforge/v0.6.0
  • 5cc1641 Release v0.6.0
  • 1c5601c Merge pull request #124 from dimforge/modify_contact_normal
  • f53d043 Contact modification: make the contact normal modifiable too.
  • f41a6fb Merge pull request #122 from dimforge/dominance
  • 8e40ab7 Merge pull request #123 from EmbarkStudios/modify-joints
  • 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 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)
jcornaz commented 3 years ago

I'll include this update in #49

dependabot[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.