Fix compilation in 2D.

This commit is contained in:
Crozet Sébastien
2020-10-06 15:49:22 +02:00
parent c5a8e03df7
commit e87b73a2a2
8 changed files with 32 additions and 34 deletions

View File

@@ -1,6 +1,10 @@
## v0.2.0 - WIP
The most significant change on this version is the addition of the `QueryPipeline` responsible for performing
scene-wide queries. So far only ray-casting has been implemented.
- Add `PhysicsPipeline::remove_collider(...)` to remove a collider from the `ColliderSet`.
- Add `ColliderSet::remove(...)` to remove a collider from the `ColliderSet`.
- Replace `PhysicsPipeline::remove_rigid_body` by `RigidBodySet::remove`.
- The `JointSet.iter()` now returns an iterator yielding `(JointHandle, &Joint)` instead of just `&Joint`.
- Add `ColliderDesc::translation(...)` to set the translation of a collider relative to the rigid-body it is attached to.
- Add `ColliderDesc::rotation(...)` to set the rotation of a collider relative to the rigid-body it is attached to.
- Add `ColliderDesc::position(...)` to set the position of a collider relative to the rigid-body it is attached to.