mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-07 13:59:24 +00:00
Merge remote-tracking branch 'bp/master'
This commit is contained in:
@@ -8849,7 +8849,7 @@ bool PhysicsServerCommandProcessor::processDeformable(const UrdfDeformable& defo
|
||||
psb->m_cfg.kDF = deformable.m_friction;
|
||||
if (deformable.m_springCoefficients.bending_stiffness)
|
||||
{
|
||||
psb->generateBendingConstraints(2);
|
||||
psb->generateBendingConstraints(deformable.m_springCoefficients.bending_stride);
|
||||
}
|
||||
btSoftBody::Material* pm = psb->appendMaterial();
|
||||
pm->m_flags -= btSoftBody::fMaterial::DebugDraw;
|
||||
@@ -8868,6 +8868,7 @@ bool PhysicsServerCommandProcessor::processDeformable(const UrdfDeformable& defo
|
||||
psb->setSelfCollision(useSelfCollision);
|
||||
psb->setSpringStiffness(deformable.m_repulsionStiffness);
|
||||
psb->setGravityFactor(deformable.m_gravFactor);
|
||||
psb->setCacheBarycenter(deformable.m_cache_barycenter);
|
||||
psb->initializeFaceTree();
|
||||
}
|
||||
#endif //SKIP_DEFORMABLE_BODY
|
||||
|
||||
Reference in New Issue
Block a user