Add a max penetration correction integration parameter

This commit is contained in:
Sébastien Crozet
2022-03-13 15:28:33 +01:00
committed by Sébastien Crozet
parent 34b0d51455
commit 1535db87c7
8 changed files with 22 additions and 6 deletions

View File

@@ -1,3 +1,12 @@
- `RigidBody::set_linvel` and `RigidBody::set_angvel` no longer modify the velocity of static bodies.
- `RigidBody::set_body_type` will reset the velocity of a rigid-body to zero if it is static.
- `RigidBodyMassPropsFlags` has been renamed to `LockedAxes`.
- Dont automatically clear forces at the end of a timestep.
- Dont reset the velocity of kinematic bodies to zero at the end of the timestep.
- `RigidsBody::apply_force`, `::apply_torque`, `::apply_force_at_point` have been renamed to `::add_force`,
`::add_torque`, and `::add_force_at_point` to better reflect the fact that they are not cleared at the end
of the timestep.
## v0.12.0-alpha.0 (2 Jan. 2022)
### Fixed
- Fixed `RigidBody::restrict_rotations` to properly take into account the axes to lock.