Registry / other / ncollide2d

ncollide2d

JSON →
library0.33.0rscratesunverified

2D collision detection library, superseded by parry2d.

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

Create a 2D cuboid shape for collision detection.

use ncollide2d::shape::Cuboid; let cuboid = Cuboid::new(Vector2::new(1.0, 1.0));
Debug
Known issues
breakingDeprecated in favor of parry2d; no further updates expected.
fix
Migrate to the parry2d crate 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
4 hits · last 30 days
node
4
Resources
ncollide2d — cargo add ncollide2d · libregistry