diff options
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 105f375..0f1da52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +## Unreleased +### Fixed + +### Modified +- The `RigidBodyBuilder::additional_mass` method will now result in the additional angular inertia + being automatically computed based on the shapes of the colliders attached to the rigid-body. +- Remove the deprecated methods `RigidBodyBuilder::mass`, `::principal_angular_inertia`, `::principal_inertia`. +- Remove the methods `RigidBodyBuilder::additional_principal_angular_inertia`. Use + `RigidBodyBuilder::additional_mass_properties` instead. +- The `Collider::density` method now always returns a `Real` (instead of an `Option<Real>`). + +### Added +- Add `RigidBody::recompute_mass_properties_from_colliders` to force the immediate computation + of 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. +- Add `RigidBody::set_additional_mass` to set the additional mass for the collider. The additional + angular inertia is automatically computed based on the attached colliders shapes. +- Add `Collider::set_density`, `::set_mass`, `set_mass_properties`, to alter a collider’s mass + properties. Note that `::set_mass` will result in the collider’s angular inertia being automatically + computed based on this mass and on its shape. +- Add `ColliderBuilder::mass` to set the mass of the collider instead of its density. Its angular + inertia tensor will be automatically computed based on this mass and its shape. +- Add `Collider::mass` and `Collider::volume` to retrieve the mass or volume of a collider. + ## v0.13.0 (31 May 2022) ### Fixed - Fix incorrect sensor events being generated after collider removal. |
