mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-29 20:15:35 +00:00
support split impulse for deformable vs. rigid contact
This commit is contained in:
@@ -315,7 +315,7 @@ void btDeformableMultiBodyDynamicsWorld::integrateTransforms(btScalar timeStep)
|
||||
node.m_v[c] = -clampDeltaV;
|
||||
}
|
||||
}
|
||||
node.m_x = node.m_x + timeStep * node.m_v;
|
||||
node.m_x = node.m_x + timeStep * (node.m_v + node.m_splitv);
|
||||
node.m_q = node.m_x;
|
||||
node.m_vn = node.m_v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user