Skip to content

2 and 3-dimensional collision detection library in Rust.

License

Notifications You must be signed in to change notification settings

feuerste/ncollide

This branch is 68 commits behind dimforge/ncollide:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3d02cfc · Mar 2, 2020
Mar 2, 2020
Oct 27, 2019
Mar 2, 2020
Mar 2, 2020
May 13, 2018
Mar 31, 2019
Sep 14, 2019
May 18, 2013
Feb 3, 2018
Mar 2, 2020
Jun 16, 2018
Jun 16, 2018
Sep 22, 2018
Sep 14, 2019

Repository files navigation

crates.io Build status

2D Documentation | 3D Documentation | User Guide | Forum

ncollide

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

The official user guide is available here. The rustdoc documentation is available for 3D and for 2D.

Compilation

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

Simply add one the following (or both) to your Cargo.toml file:

[dependencies]
ncollide2d = "0.22" # For 2D collision detection.
ncollide3d = "0.22" # For 3D collision detection.

Features

  • dynamic bounding volume tree based broad phase
  • ball vs. ball collision detection,
  • plane vs. any convex object collision detection.
  • collision detection between arbitrary convex objects
  • compound geometries
  • ray-casting
  • time of impact computation for objects without rotational movement (compound vs. compound is not yet implemented)

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

Contribution

Pull requests and issues are very welcome. In addition, click this button if you which to donate to support the development of ncollide:

Become a Patron!

About

2 and 3-dimensional collision detection library in Rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%