diff options
109 files changed, 7393 insertions, 5458 deletions
diff --git a/.github/workflows/rapier-ci-build.yml b/.github/workflows/rapier-ci-build.yml index b4bc538..9328bc9 100644 --- a/.github/workflows/rapier-ci-build.yml +++ b/.github/workflows/rapier-ci-build.yml @@ -13,7 +13,7 @@ jobs: check-fmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Check formatting run: cargo fmt -- --check build-native: @@ -21,7 +21,7 @@ jobs: env: RUSTFLAGS: -D warnings steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: sudo apt-get install -y cmake libxcb-composite0-dev - name: Build rapier2d run: cargo build --verbose -p rapier2d; @@ -54,7 +54,7 @@ jobs: env: RUSTFLAGS: -D warnings steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: rustup target add wasm32-unknown-unknown - name: build rapier2d run: cd crates/rapier2d && cargo build --verbose --features wasm-bindgen --target wasm32-unknown-unknown; @@ -65,7 +65,7 @@ jobs: env: RUSTFLAGS: -D warnings steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: rustup target add wasm32-unknown-emscripten - name: build rapier2d run: cd crates/rapier2d && cargo build --verbose --target wasm32-unknown-emscripten; diff --git a/CHANGELOG.md b/CHANGELOG.md index 21e9f9a..71576cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,20 @@ ## Unlereased +### Fix +- Fix bug causing angular joint limits and motor to sometimes only take into account half of the angles specified by the user. + ### Added - Add `SphericalJoint::local_frame1/2`, `::set_local_frame1/2`, and `SphericalJointBuilder::local_frame1/2` to set both the joint’s anchor and reference orientation. - Add `EffectiveCharacterMovement::is_sliding_down_slope` to indicate if the character controlled by the kinematic character controller is sliding on a slope that is too steep. - Add `Wheel::side_friction_stiffness` to customize the side friction applied to the vehicle controller’s wheel. +- Add `DebugRenderStyle::disabled_color_multiplier` to make the debug-renderer color disabled object differently. ### Modified - Make `Wheel::friction_slip` public to customize the front friction applied to the vehicle controller’s wheels. +- Add the `DebugRenderBackend::filter_object` predicate that can be implemented to apply custom filtering rules + on the objects being rendered. +- Switch the testbed to `bevy 0.11` and use its new Gizmos API for rendering lines. ## v0.17.2 (26 Feb. 2023) ### Fix @@ -254,8 +261,8 @@ Check it out on [rapier.rs](https://www.rapier.rs/docs/user_guides/javascript/ge ## v0.10.1 ### Added -- Add `Collider::set_translation_wrt_parent` to change the translation of a collider wrt. its parent rigid-body. -- Add `Collider::set_rotation_wrt_parent` to change the translation of a collider wrt. its parent rigid-body. +- Add `Collider::set_translation_wrt_parent` to change the translation of a collider with respect to its parent rigid-body. +- Add `Collider::set_rotation_wrt_parent` to change the translation of a collider with respect to its parent rigid-body. ## v0.10.0 diff --git a/crates/rapier2d-f64/Cargo.toml b/crates/rapier2d-f64/Cargo.toml index a3b18af..3d88ee8 100644 --- |
