Registry / other / ncollide3d

ncollide3d

JSON →
library0.33.0rscratesunverified

2 and 3-dimensional collision detection library in Rust. Will be superseded by the parry3d crate.

# Cargo.toml [dependencies] ncollide3d = "0.33.0"
INSTALL
IMPORT
SIG · NCOLLIDE3D
N
ncollide3d
otherrustv0.33.0
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 ncollide3d::shape::Cuboid;

Create a 3D cuboid shape for collision detection.

use ncollide3d::shape::Cuboid; 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 superseded by parry3d; consider migrating
fix
Use parry3d crate instead for continued support
affects: >=0.33.0
Upgrade
Version history
0.33.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
ncollide3d — cargo add ncollide3d · libregistry