droog126 / lastkingdom2

Apache License 2.0
0 stars 0 forks source link

Update Rust crate bevy_rapier2d to 0.17.0 #10

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
bevy_rapier2d (source) dependencies minor 0.16.2 -> 0.17.0

Release Notes

dimforge/bevy_rapier ### [`v0.17.0`](https://togithub.com/dimforge/bevy_rapier/blob/HEAD/CHANGELOG.md#​0170-02-Oct-2022) [Compare Source](https://togithub.com/dimforge/bevy_rapier/compare/v0.16.2...v0.17.0) ##### Added - Add a **kinematic character controller** implementation. This feature is accessible in two different ways: 1. The first approach is to insert the `KinematicCharacterController` component to an entity. If the `KinematicCharacterController::custom_shape` field is set, then this shape is used for the character control. If this field is `None` then the `Collider` attached to the same entity as the character controller is used. The character controller will be automatically updated when the `KinematicCharacterController::movement` is set. The result position is written to the `Transform` of the character controller’s entity. 2. The second, lower level, approach, is to call `RapierContext::move_shape` to compute the possible movement of a shape, taking obstacle and sliding into account. - Add implementations of `Add`, `AddAssign`, `Sub`, `SubAssign` to `ExternalForce` and `ExternalImpulse`. - Add `ExternalForce::at_point` and `ExternalImpulse::at_point` to apply a force/impulse at a specific point of a rigid-body. ##### Fix - Fix shapes quickly switching between scaled and non-scaled versions due to rounding errors in the scaling extraction from bevy’s global affine transform.

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.