Solid trace

This commit is contained in:
Jason Hooks 2012-04-21 16:57:46 -04:00
parent 16855291a7
commit 8ebae0b706
3 changed files with 2 additions and 6 deletions

View file

@ -27,7 +27,7 @@ namespace MWWorld
NifBullet::ManualBulletShapeLoader* shapeLoader = new NifBullet::ManualBulletShapeLoader();
mEngine = new OEngine::Physic::PhysicEngine(shapeLoader);
playerphysics->mEngine = mEngine;
//playerphysics->ps.snappingImplemented = true;
}

View file

@ -1777,10 +1777,6 @@ void PmoveSingle (playerMove* const pmove)
pm->ps.watertype = 0;
pm->ps.waterlevel = WL_DRYLAND;
if(pml.walking)
std::cout << "Walking\n";
else
std::cout << "Not Walking\n";
//if ( pm->ps->stats[STAT_HEALTH] <= 0 )
//pm->tracemask &= ~CONTENTS_BODY; // corpses can fly through bodies

View file

@ -172,7 +172,7 @@ const bool NewPhysicsTrace(NewPhysTraceResults* const out, const Ogre::Vector3&
if (!TestPointAgainstAabb2(aabbMin, aabbMax, *(const btVector3* const)&(start) ) )
{
//We're solid
out->startSolid = false;
out->startSolid = true;
}
}
}