Added bounding box collision generation (not done)

git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@50 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
nkorslund 2008-10-07 08:51:17 +00:00
parent 6277c7f17c
commit 17a002f712
2 changed files with 87 additions and 45 deletions

View file

@ -49,7 +49,12 @@ btVector3 perpComponent (const btVector3& direction, const btVector3& normal)
btManifoldArray manifoldArray;
// Callback used for collision detection sweep tests. It prevents self
// collision and is used in calls to convexSweepTest().
// collision and is used in calls to convexSweepTest(). TODO: It might
// be enough to just set the filters on this. If we set the group and
// mask so that we only collide with static objects, self collision
// would never happen. The sweep test function should have had a
// version where you only specify the filters - I might add that
// myself.
class ClosestNotMeConvexResultCallback : public btCollisionWorld::ClosestConvexResultCallback
{
public: