nphysics icon indicating copy to clipboard operation
nphysics copied to clipboard

2 and 3-dimensional rigid body physics engine for Rust.

Results 45 nphysics issues
Sort by recently updated
recently updated
newest added

The tutorial at https://www.nphysics.org/joint_constraints_and_multibodies/ has a line says let joint = RevoluteJoint::new(-0.1); While the new signature is pub fn new(axis: Unit, angle: N) -> Self

I was trying to use cylinder, but I was not able to do so because seems that the Cylinder shape doesn't implement the Shape Trait: ``` the trait `ncollide3d::shape::shape::Shape` is...

So I noticed there doesn't seem to be much work going on here at the moment and figured this *might* be a good time to make this PR since the...

Allows using serde to serialize rigidbodies among other things.

I ran across a panic: `thread 'main' panicked at 'Invalid parent body part handle.', src/libcore/option.rs:1188:5` that happens if a body is created/destroyed in the same frame. It looks like the...

In the 2D plasticity web demo, rapidly clicking on any of the platforms causes a panic. ``` Panic error message: called `Option::unwrap()` on a `None` value __cargo_web_snippet_97495987af1720d8a9a923fa4683a7b683e3acd6 _ZN6stdweb7webcore14initialization10initialize28_$u7b$$u7b$closure$u7d$$u7d$17he157f34f8c851715E _ZN3std9panicking20rust_panic_with_hook17h868a29d5aa6e3f6fE _ZN3std9panicking18continue_panic_fmt17h5bc0f5dc42367f4bE...

To demonstrate the issue I made the following test, which should be self-explaining. Notice the use of `position` in the collider description builder vs. `set_position`. ``` #[test] pub fn test()...

I notice that `DefaultMechanicalWorld` is not really a replacement for `nphyics3d::world::World` from v0.11 but rather a sub-set. Whatever reason the geometry/collider world, body, collider, joint and force sets are now...

HEAD: 314bade The first kind of crash can be reproduced pretty reliably by making a single ragdoll stuck in the platform and then dragging it around furiously until it passes...

bug
P-medium

The link to https://nphysics.org/demo_sensor3/ found on https://nphysics.org/interaction_handling_and_sensors/ in the sentence "The sensor demo shows a ball-shaped sensor attached to a cube. All colliders (except the ground) that intersect this ball...