ncollide v0.9.0 Release Notes
-
➕ Added
* Added 2D and 3D testbeds (available on crates.io as `ncollide_testbed2d` and `ncollide_testbed3d`). * Added a method to the narrow phase to retrieve all the proximity pairs. * Added a method to the collision world to retrieve all the proximity pairs. * Added a method to the collision world to retrieve the collision object from its identifier.
Modified
* Merge the `ncollide_queries` and `ncollide_entities` crates into `ncollide_geometry`. * Rename the `geometry` module to `query`. * `::implicit_shape_aabb(...)` becomes `::support_map_aabb(...)` * `CompositeShape::aabb_at(...)` now returns an AABB by-value (instead of by-ref). * `PointQuery::distance_to_point(...)` now has a `solid` flag as well. * Point queries result now indicates if the point was inside of the object or not by returning a `PointProjection` structure instead of just the point. * Rename `CollisionGroups::can_collide_with` to `CollisionGroups::can_interact_with`. * Rename `NarrowPhase::handle_proximity` to `NarrowPhase::handle_interaction`. * Rename all `.*CollisionDetector` to `.*ContactGenerator`. Methods have been renamed as well (e.g. `.get_collision_algorithm` becomes `.get_contact_algorithm`, `.colls` becomes `.contacts`, etc.) * Rename `CollisionQueryType` to `GeometricQueryType`. * Moved the `ray` and `point` modules into the `query` module. Also, they are renamed `ray_internal` and `point_internal`.
✂ Removed
* Removed the `CompositeShape::len()` method.