diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-11-30 15:35:02 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-11-30 15:35:36 +0100 |
| commit | 715d0fe16eb8ca9df90ff161ade4bf809a780043 (patch) | |
| tree | e73502f764f9b00c05cfce7d41f2e5437e2ffdd2 /CHANGELOG | |
| parent | c3e951f896bf59d074771fe89de5b0b55f94f8ed (diff) | |
| download | rapier-715d0fe16eb8ca9df90ff161ade4bf809a780043.tar.gz rapier-715d0fe16eb8ca9df90ff161ade4bf809a780043.tar.bz2 rapier-715d0fe16eb8ca9df90ff161ade4bf809a780043.zip | |
Update the changelog + make the boolean flags more intuitive.
Diffstat (limited to 'CHANGELOG')
| -rw-r--r-- | CHANGELOG | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,12 @@ their corresponding getters/setters. For example: `rb.linvel()`, `rb.set_linvel(vel, true)`. - Add `RigidBodyBuilder::sleeping(true)` to allow the creation of a rigid-body that is asleep at initialization-time. +- Add `RigidBodyBuilder::lock_rotations` to prevent a rigid-body from rotating because of forces. +- Add `RigidBodyBuilder::lock_translations` to prevent a rigid-body from translating because of forces. +- Add `RigidBodyBuilder::principal_inertia` for setting the principal inertia of a rigid-body, and/or + preventing the rigid-body from rotating along a specific axis. +- Change `RigidBodyBuilder::mass` by adding a bool parameter indicating whether or not the collider + contributions should be taken into account in the future too. ## v0.3.2 - Add linear and angular damping. The damping factor can be set with `RigidBodyBuilder::linear_damping` and |
