mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 13:20:07 +00:00
fix space
This commit is contained in:
parent
bad085554c
commit
c87cda15b7
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user