compound covex hull collisions work

This commit is contained in:
Seth Alves 2015-03-23 15:10:28 -07:00
parent bfc5cf99d6
commit f31ac8b968

View file

@ -161,6 +161,7 @@ btCollisionShape* ShapeInfoUtil::createShapeFromInfo(const ShapeInfo& info) {
hull->addPoint(btPoint);
}
btTransform trans;
trans.setIdentity();
static_cast<btCompoundShape*>(shape)->addChildShape (trans, hull);
}
}