PyBullet: add support for internal edge filtering for height field terrains

This commit is contained in:
Erwin Coumans committed 2019-08-09 10:14:14 -07:00
1 parent 046e036519
commit 54111f7023
6 files changed
+139 -12

No files matched your search

@@ -612,6 +612,11 @@ btTransform ConvertURDF2BulletInternal(
}
}
if (compoundShape->getShapeType() == TERRAIN_SHAPE_PROXYTYPE)
{
col->setCollisionFlags(col->getCollisionFlags() | btCollisionObject::CF_CUSTOM_MATERIAL_CALLBACK);
}
btTransform tr;
tr.setIdentity();
tr = linkTransformInWorldSpace;