Make Collider::set_rotation and RigidBody::set_rotation take a rotation instead of an axis-angle.

This commit is contained in:
Sébastien Crozet
2022-08-09 09:26:12 +02:00
parent ebb9473491
commit a19c6131ff
3 changed files with 9 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
## Unreleased
### Modified
- The methods `Collider::set_rotation`, `RigidBody::set_rotation`, and `RigidBody::set_next_kinematic_rotation` now
take a rotation (`UnitQuaternion` or `UnitComplex`) instead of a vector/angle.
## v0.14.0 (09 July 2022)
### Fixed
- Fix unpredictable broad-phase panic when using small colliders in the simulation.