mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-11 10:25:50 +00:00
fix space
This commit is contained in:
@@ -623,7 +623,7 @@ btCollisionShape* BulletURDFImporter::convertURDFToCollisionShape(const UrdfColl
|
||||
btScalar height = collision->m_geometry.m_capsuleHeight;
|
||||
btCapsuleShapeZ* capsuleShape = new btCapsuleShapeZ(radius, height);
|
||||
shape = capsuleShape;
|
||||
shape->setMargin(gUrdfDefaultCollisionMargin);
|
||||
shape->setMargin(gUrdfDefaultCollisionMargin);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ btCollisionShape* BulletURDFImporter::convertURDFToCollisionShape(const UrdfColl
|
||||
btVector3 halfExtents(cylRadius, cylRadius, cylHalfLength);
|
||||
btCylinderShapeZ* cylZShape = new btCylinderShapeZ(halfExtents);
|
||||
shape = cylZShape;
|
||||
shape->setMargin(gUrdfDefaultCollisionMargin);
|
||||
shape->setMargin(gUrdfDefaultCollisionMargin);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user