Crates.io | ncollide2d |
lib.rs | ncollide2d |
version | 0.33.0 |
source | src |
created_at | 2018-04-19 09:07:52.172706 |
updated_at | 2022-03-18 07:56:42.233123 |
description | 2 and 3-dimensional collision detection library in Rust. Will be superseded by the parry2d crate. |
homepage | http://ncollide.org |
repository | https://github.com/dimforge/ncollide |
max_upload_size | |
id | 61381 |
size | 1,055,423 |
2D Documentation | 3D Documentation | User Guide | Forum
⚠️This crate is now passively-maintained. It is being superseded by the Parry project.⚠️
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.
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.33" # For 2D collision detection.
ncollide3d = "0.33" # For 3D collision detection.
And various traits for collision detectors and broad phase collision detection.