2D and 3D collision detection library
… for the Rust programming language.Demonstrations§
nphysics − a 2D and 3D physics engine
available on crates.io as the nphysics2d
and nphysics3d
crates. It completely relies on ncollide for contact points computation
and proximity detection. It has at least one example per collision detection
algorithm provided by ncollide.
nrays − a toy ray tracer in Rust. Obviously, it is used to stress-test the ray-casting capabilities of ncollide. Most 3d illustrations of this guide have been rendered by nrays.