Preparation to add signed distance field collision detection.

btMiniSDF is based on https://github.com/InteractiveComputerGraphics/Discregrid
This commit is contained in:
erwincoumans
2018-04-08 21:10:03 -07:00
parent 380e59be6a
commit 698836d54e
7 changed files with 858 additions and 14 deletions

View File

@@ -185,7 +185,13 @@ void CollisionShape2TriangleMesh(btCollisionShape* collisionShape, const btTrans
}
} else
{
btAssert(0);
if (collisionShape->getShapeType()==SDF_SHAPE_PROXYTYPE)
{
//not yet
} else
{
btAssert(0);
}
}
}