Registry / other / ncollide

ncollide

JSON →
libraryrscratesunverified

DEPRECATED: use ncollide2d or ncollide3d instead. 2 and 3-dimensional collision detection library in Rust.

# Cargo.toml [dependencies] ncollide = "latest"
INSTALL
IMPORT
SIG · NCOLLIDE
N
ncollide
otherrust
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cuboid
use ncollide::shape::Cuboid;

Create a cuboid shape for collision detection (deprecated crate).

use ncollide::shape::Cuboid; fn main() { let cuboid = Cuboid::new(Vector3::new(1.0, 2.0, 3.0)); println!("Cuboid half-extents: {:?}", cuboid.half_extents()); }
Debug
Known issues
breakingThis crate is deprecated; use ncollide2d or ncollide3d instead.
fix
Replace dependency with ncollide2d or ncollide3d and update imports accordingly.
affects: >=0.0.0
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
ncollide — cargo add ncollide · libregistry