expose pybullet.URDF_USE_SELF_COLLISION flag, experimental (likely doesn't work well for many URDF files)
This commit is contained in:
@@ -1810,6 +1810,10 @@ bool PhysicsServerCommandProcessor::loadUrdf(const char* fileName, const btVecto
|
||||
mb->setUserIndex2(bodyUniqueId);
|
||||
bodyHandle->m_multiBody = mb;
|
||||
|
||||
if (flags & URDF_USE_SELF_COLLISION)
|
||||
{
|
||||
mb->setHasSelfCollision(true);
|
||||
}
|
||||
createJointMotors(mb);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user