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

Hi, it would be great to enable/disable a collider separately from a rigid body. This would also allow cases where some specific colliders on a body could be enabled/disabled without...

Currently, only one constraint solver is available and implemented in the `MoreauJeanSolver` struct. For research purposes I'm working on other constraint solver implementations (though they are far too specialized at...

Consider this program: ```rust let mut world = World::new(); let shape = ShapeHandle::new(Cuboid::new(Vector3::repeat(0.5))); let collider = ColliderDesc::new(shape) .density(1.0); let top_joint = FreeJoint::new(Isometry3::identity()); let body_desc = MultibodyDesc::new(top_joint) .collider(&collider) .parent_shift(Vector3::repeat(1000.0)) .build(&mut world);...

The following program panics with the message below: ```rust let mut world = World::new(); let shape = ShapeHandle::new(Cuboid::new(Vector3::repeat(0.5))); let collider = ColliderDesc::new(shape) .density(1.0); let top_joint = FixedJoint::new(Isometry3::identity()); let mut body_desc...

The following program panics with the message below: ```rust let mut world = World::new(); let shape = ShapeHandle::new(Cuboid::new(Vector3::repeat(0.5))); let collider = ColliderDesc::new(shape) .density(1.0); let top_joint = FixedJoint::new(Isometry3::identity()); let mut body_desc...

While experimenting with MultiBodies I discovered that FreeJoints and FixedJoints apparently cause a panic when the MultiBodies attached to the joint don't have colliders with a set density. Specifically this...

I'm currently converting [my simulation](https://github.com/syberant/evolvim) to using nphysics2d (thanks a lot by the way) but that unfortunately does mean that I can no longer easily `Serialize` and `Deserialize` everything with...

The RigidBodyDesc accept a reference to the colliders https://github.com/rustsim/nphysics/blob/master/src/object/rigid_body.rs#L727 The problem is that due to the lifetime used there is not possible to store the RigidBodyDesc in the heap and...

See https://discourse.nphysics.org/t/does-friction-work-with-balls-on-a-plane/381 Rolling friction is particularly useful for balls so that they can stop after a while (and, depending on the friction coefficient, even stop when rolling on a slope).

enhancement
P-medium

While checking the code today I saw that during the physical world creation is not possible to specify the various internal parts (like the collision detection algortim dispatcher, the broad...

enhancement
P-medium