Move the cfm factor to the velocity constraints instead of the elements.

This commit is contained in:
Sébastien Crozet
2022-05-30 19:14:05 +02:00
parent 0d05536ab6
commit fef8416983
11 changed files with 79 additions and 72 deletions

View File

@@ -1,11 +1,8 @@
use crate::data::{Arena, Coarena, Index};
use crate::dynamics::joint::MultibodyLink;
use crate::dynamics::{
GenericJoint, IslandManager, Multibody, MultibodyJoint, RigidBodyHandle, RigidBodySet,
};
use crate::dynamics::{GenericJoint, Multibody, MultibodyJoint, RigidBodyHandle};
use crate::geometry::{InteractionGraph, RigidBodyGraphIndex};
use crate::parry::partitioning::IndexedData;
use crate::prelude::RigidBody;
/// The unique handle of an multibody_joint added to a `MultibodyJointSet`.
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]