Popularity
6.7
Declining
Activity
0.0
Declining
917
23
110

Description

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.

Programming language: Rust
License: Apache License 2.0
Tags: Physics     Computation     Collision Detection     Convex     Ray     Collision     Distance     Geometry    
Latest version: v0.23.2

ncollide alternatives and similar packages

Based on the "Computation" category.
Alternatively, view ncollide alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ncollide or a related project?

Add another 'Computation' Package

README

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

⚠️This crate is now passively-maintained. It is being superseded by the Parry project.⚠️

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.33" # For 2D collision detection.
ncollide3d = "0.33" # 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.