Expand description
§Rhusics physics library
A physics library, primarily built to be used with
specs
.
Uses cgmath
for all computation.
Features:
- Two different broad phase collision detection implementations:
- Brute force
- Sweep and Prune
- Narrow phase collision detection using GJK, and optionally EPA for full contact information
specs::System
for collision detection working on user supplied transform, andCollisionShape
components. Can optionally use broad and/or narrow phase detection. Library supplies a transform implementationBodyPose
for convenience.- Uses single precision as default, can be changed to double precision with the
double
feature. - Has support for doing spatial sort/collision detection using the collision-rs DBVT.
- Support for doing broad phase using the collision-rs DBVT.
- Has support for all primitives in collision-rs
§Examples
See the examples/
directory for examples.
Modules§
- collide
- Generic data structures and algorithms for collision detection
- physics
- Physics related functionality