mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-28 19:45:35 +00:00
swap m_x and m_q in softbody to align with rendering convention
This commit is contained in:
@@ -166,7 +166,7 @@ void btDeformableMultiBodyDynamicsWorld::integrateTransforms(btScalar timeStep)
|
||||
node.m_v[c] = -clampDeltaV;
|
||||
}
|
||||
}
|
||||
node.m_x = node.m_q + timeStep * node.m_v;
|
||||
node.m_x = node.m_x + timeStep * node.m_v;
|
||||
}
|
||||
}
|
||||
m_deformableBodySolver->revertVelocity();
|
||||
|
||||
Reference in New Issue
Block a user