ncollide

Crates.ioncollide
lib.rsncollide
version0.14.3
sourcesrc
created_at2014-11-22 19:09:22.289331
updated_at2019-04-27 10:35:35.853989
description DEPRECATED: use ncollide2d or ncollide3d instead. 2 and 3-dimensional collision detection library in Rust.
homepagehttp://ncollide.org
repositoryhttps://github.com/sebcrozet/ncollide
max_upload_size
id348
size31,695
MACs (github:rustcrypto:macs)

documentation

http://ncollide.org/rustdoc/ncollide

README

crates.io Build status

Documentation | User Guide | Forum

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 geometries. It might work with higher dimensions (never tried).

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:

[dependencies]
ncollide = "0.13"

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!

Commit count: 1068

cargo fmt