diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-07-08 11:48:31 +0200 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-07-08 11:48:31 +0200 |
| commit | efaf16aaea745a9b489a38f39bbe2db5fb85dcd1 (patch) | |
| tree | d63ffc46534b0c640d87641788b9ba7ea9c94b09 /CHANGELOG.md | |
| parent | 949573dd100ab2ae69402300794937f83daabeb1 (diff) | |
| download | rapier-efaf16aaea745a9b489a38f39bbe2db5fb85dcd1.tar.gz rapier-efaf16aaea745a9b489a38f39bbe2db5fb85dcd1.tar.bz2 rapier-efaf16aaea745a9b489a38f39bbe2db5fb85dcd1.zip | |
Rename restrict_translation/rotation to set_allowed_translation/rotation
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 63a90e1..5db96d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ - 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>`). +- Rename `RigidBody::restrict_rotations` and `RigidBody::restrict_translations` to + `RigidBody::set_allowed_rotations` and `RigidBody::set_allowed_translations`. +- Rename `RigidBodyBuilder::restrict_rotations` and `RigidBodyBuilder::restrict_translations` to + `RigidBodyBuilder::allowed_rotations` and `RigidBodyBuilder::allowed_translations`. ### Added - Add `RigidBody::recompute_mass_properties_from_colliders` to force the immediate computation |
