feat: add RigidBody::copy_from and Collider::copy_from

Closes #595
This commit is contained in:
Sébastien Crozet
2024-03-23 13:11:37 +01:00
committed by Sébastien Crozet
parent 6886f8f207
commit cd9fb8342d
3 changed files with 104 additions and 0 deletions

View File

@@ -9,6 +9,8 @@
- Add `RigidBody::predict_position_using_velocity` to predict the next position of the rigid-body
based only on its current velocity.
- Add `Collider::copy_from` to copy most collider attributes to an existing collider.
- Add `RigidBody::copy_from` to copy most rigid-body attributes to an existing rigid-body.
## v0.18.0 (24 Jan. 2024)