feat: add RevoluteJoint::angle to compute the revolute joint’s angle

This commit is contained in:
Sébastien Crozet
2024-06-09 12:11:30 +02:00
committed by Sébastien Crozet
parent a5a4152815
commit a8a0f297f5
3 changed files with 92 additions and 10 deletions

View File

@@ -23,6 +23,7 @@ This release introduces two new crates:
OBB), a convex hull, or a convex decomposition.
- Implement `Default` for `RigidBodyBuilder`. This is equivalent to `RigidBodyBuilder::dynamic()`.
- Implement `Default` for `ColliderBuilder`. This is equivalent to `ColliderBuilder::ball(0.5)`.
- Add `RevoluteJoint::angle` to compute the joints angle given the rotation of its attached rigid-bodies.
### Modified