- Initial release
- Make mocks for
Simulation
more flexible
- Add support for intersection tests with arbitrary polygons. Issue #49
- Move
own_description
from the signature ofObjectBehavior::step
to the new functionWorldInteractor::own_object(&self) -> Object<'_>
- This also allows access to an object's own ID
- Support object retrieval with an ID via
Simulation::object(&self, id: Id) -> Option<Object<'_>>
- Actually expose the collision checks added in 0.4.1 in
WorldInteractor
- Improve performance by using references to
Polygon
s everywhere
- Add raycast support via
Simulation::objects_in_ray(&self, origin: Point, direction: Vector) -> Snapshot<'_>;
- Re-export
myelin_geometry
asgeometry
- Expose
objects_in_ray
throughWorldIterator::find_objects_in_ray
World::is_body_passable
has been removed. UsePhysicalBody::passable
(returned byWorld::body
) instead.- The
passable
field on objects is respected byNphysicsWorld
: Passable objects can overlap with other objects including other passable objects. - All traits except
ObjectBehavior
have been sealed and can therefore no longer be implemented by other crates. - The trait
NphysicsRotationTranslator
has been removed to simplify the internal API.
- Mockiato has been updated to
0.3
geometry
has been updated to2.4
- Mockiato has been updated to
0.4
ObjectBehavior::as_any
no longer needs to be implemented manually.- Mocks for
ObjectBehavior
andSimulation
are now generated by mockiato.
associated_object_data
is a generic type instead of aVec<u8>
. All types that deal withObjectDescription
therefore have received a generic type parameterT
.ObjectBuilder::build
will return an error whenassociated_object_data()
is never called. This is not the case for types that implementDefault
.
- Mockiato has been updated to '0.8'
- Mockiato has been updated to '0.9'
- ncollide has been updated to '0.20'
- nphysics has been updated to '0.12'