mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
allow compound collision shapes with less than 2 sub-shapes
This commit is contained in:
parent
7cb9968864
commit
caafea6e3b
1 changed files with 0 additions and 1 deletions
|
@ -94,7 +94,6 @@ btCollisionShape* ShapeFactory::createShapeFromInfo(const ShapeInfo& info) {
|
|||
if (numSubShapes == 1) {
|
||||
shape = createConvexHull(info.getPoints()[0]);
|
||||
} else {
|
||||
assert(numSubShapes > 1);
|
||||
auto compound = new btCompoundShape();
|
||||
btTransform trans;
|
||||
trans.setIdentity();
|
||||
|
|
Loading…
Reference in a new issue