diff options
| author | Sébastien Crozet <developer@crozet.re> | 2020-11-30 15:55:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-30 15:55:54 +0100 |
| commit | ab7fdb5f4e5b67ab757e9d5135ab62abfd001846 (patch) | |
| tree | 8bdad3f6e1a18b17b1d7898f64052927138bd4d4 /CHANGELOG | |
| parent | c9ac149b17622f4267bf9a1fcea9cf80ffbbfd2c (diff) | |
| parent | 1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67 (diff) | |
| download | rapier-ab7fdb5f4e5b67ab757e9d5135ab62abfd001846.tar.gz rapier-ab7fdb5f4e5b67ab757e9d5135ab62abfd001846.tar.bz2 rapier-ab7fdb5f4e5b67ab757e9d5135ab62abfd001846.zip | |
Merge pull request #70 from dimforge/lock_rotations
Add a more convenient way of locking the rotations (or translations) of a rigid-body
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 |
