PyBullet: add support for internal edge filtering for height field terrains
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user