Crate ncollide3d[][src]

ncollide

ncollide is a 2 and 3-dimensional collision detection library written with the rust programming language.

As its name suggests, it is generic wrt the dimension: it works with both 2-dimensional and 3-dimensional shapes.

The official user guide is available here. The rustdoc documentation is available here.

Compilation

You will need the last stable build of the rust compiler and the official package manager: cargo.

Simply add the following to your Cargo.toml file:

This example is not tested
[dependencies]
ncollide2d = "0.16" # For 2D collision detection.
ncollide3d = "0.16" # For 3D collision detection.

Features

And various traits for collision detectors and broad phase collision detection.

Modules

bounding_volume

Bounding volumes.

broad_phase

Broad phases.

events

Structures for describing and storing collision-related events.

math

Compilation flags dependent aliases for mathematical types.

narrow_phase

Persistent collision detection algorithms to compute contact points.

partitioning

Spatial partitioning tools.

procedural

Procedural mesh generation.

query

Non-persistant pairwise geometric queries.

shape

Collision shapes supported by ncollide.

transformation

Transformation, simplification and decomposition of meshes.

utils

Various unsorted geometrical and logical operators.

world

High level API to detect collisions in large, complex scenes.