Skip to content

Commit

Permalink
Fixes for bullet-featherstone.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti committed Jun 12, 2024
1 parent c41510a commit d8401c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bullet-featherstone/src/SDFFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ bool SDFFeatures::AddSdfCollision(
const auto height = static_cast<btScalar>(cone->Length());
shape =
std::make_unique<btConeShapeZ>(radius, height);
shape->setMargin(0.0);
}
else if (const auto *cylinder = geom->CylinderShape())
{
Expand Down
1 change: 1 addition & 0 deletions bullet-featherstone/src/ShapeFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ Identity ShapeFeatures::AttachConeShape(
const auto height = static_cast<btScalar>(_height);
auto shape =
std::make_unique<btConeShapeZ>(radius, height);
shape->setMargin(0.0);

auto identity = this->AddCollision(
CollisionInfo{
Expand Down

0 comments on commit d8401c2

Please sign in to comment.