Skip to main content

Crate ncollide3d_updated

Crate ncollide3d_updated 

Source
Expand description

§ncollide

ncollide-updated is a passively maintained fork of ncollide, a 2D and 3D collision-detection library for Rust.

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

API documentation is available for ncollide2d-updated and ncollide3d-updated.

§Compilation

This release requires Rust 1.89 or newer. Add either or both crates to your Cargo.toml:

[dependencies]
ncollide2d-updated = "0.37"
ncollide3d-updated = "0.37"

§Features

  • Dynamic bounding-volume-tree broad phase
  • Ball-versus-ball collision detection
  • Plane-versus-convex-object collision detection
  • Collision detection between arbitrary convex objects
  • Compound shapes
  • Ray casting
  • Time-of-impact computation for objects without rotational movement (except compound versus compound)

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

Re-exports§

pub extern crate nalgebra as na;
pub extern crate simba;

Re-exports§

pub use crate::pipeline::broad_phase;
pub use crate::pipeline::narrow_phase;
pub use crate::pipeline::world;

Modules§

bounding_volume
Bounding volumes.
interpolation
Interpolation of the motion of an object.
math
Compilation flags dependent aliases for mathematical types.
partitioning
Spatial partitioning tools.
pipeline
Persistent and time-coherent collision detection.
procedural
Procedural mesh generation.
query
Non-persistent geometric queries.
shape
Collision shapes supported by ncollide.
transformation
Transformation, simplification and decomposition of meshes.
utils
Various unsorted geometrical and logical operators.