mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 03:33:13 +02:00
compound covex hull collisions work
This commit is contained in:
parent
bfc5cf99d6
commit
f31ac8b968
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ btCollisionShape* ShapeInfoUtil::createShapeFromInfo(const ShapeInfo& info) {
|
|||
hull->addPoint(btPoint);
|
||||
}
|
||||
btTransform trans;
|
||||
trans.setIdentity();
|
||||
static_cast<btCompoundShape*>(shape)->addChildShape (trans, hull);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue