diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-06-01 17:59:07 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-06-01 17:59:07 +0200 |
| commit | 7153eb7779a29853289df90f28efaac738620386 (patch) | |
| tree | 561a81b65609b60c4429c134ea474a160d70d80e /CHANGELOG.md | |
| parent | 1839f61d816af37c95889caf592b5a7cf8d89412 (diff) | |
| download | rapier-7153eb7779a29853289df90f28efaac738620386.tar.gz rapier-7153eb7779a29853289df90f28efaac738620386.tar.bz2 rapier-7153eb7779a29853289df90f28efaac738620386.zip | |
Add ActiveCollisionTypes to easily enable collision-detection between two non-static rigid-body.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ffeb55..6d0af45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ The user-guide has been fully rewritten and is now exhaustive! Check it out on [ ### Added - A prelude has been added in order to simplify the most common imports. For example: `use rapier3d::prelude::*` +- Add `RigidBody::set_translation` and `RigidBody.translation()`. +- Add `RigidBody::set_rotation` and `RigidBody.rotation(). +- Add `RigidBody::set_next_translation` for setting the next translation of a position-based kinematic body. +- Add `RigidBody::set_next_rotation` for setting the next rotation of a position-based kinematic body. +- Add kinematic bodies controlled at the velocity level: use `RigidBodyBuilder::new_kinematic_velocity_based` or + `RigidBodyType::KinematicVelocityBased`. ### Modified - Renamed `BodyStatus` to `RigidBodyType`. @@ -37,6 +43,16 @@ FIXME: handles can be read from the contact-pair itself. - `NarrowPhase::intersections_with` now returns an iterator directly instead of an `Option<impl Iterator>`. - Rename `PhysicsHooksFlags` to `ActiveHooks`. +- The `RigidBodyBuilder::new_kinematic` has be replaced by the `RigidBodyBuilder::new_kinematic_position_based` and + `RigidBodyBuilder::new_kinematic_velocity_based` constructors. +- The `RigidBodyType::Kinematic` variant has been replaced by two variants: `RigidBodyType::KinematicVelocityBased` and + `RigidBodyType::KinematicPositionBased`. +- Fixed a bug where collision groups were ignored by CCD. +- Add the contact pair as an argument to `EventHandler::handle_contact_event` +- All events are now disabled for all colliders by default. Enable events for specific colliders by setting its + `active_events` bit mask to `ActiveEvents::CONTACT_EVENTS` and/or `ActiveEvents::PROXIMITY_EVENTS`. +- Add a simpler way of enabling collision-detection between colliders attached to two non-dynamic rigid-bodies: see + `ColliderBuilder::active_collision_types`. ## v0.8.0 ### Modified |
