applied Character controller patch #20 from Issue 198

See https://code.google.com/p/bullet/issues/detail?id=198
This commit is contained in:
erwin.coumans
2013-09-10 20:40:42 +00:00
parent d50be40f8e
commit c160bfe74c
4 changed files with 149 additions and 29 deletions

View File

@@ -341,7 +341,7 @@ void CharacterDemo::clientResetScene()
{
m_dynamicsWorld->getBroadphase()->getOverlappingPairCache()->cleanProxyFromPairs(m_ghostObject->getBroadphaseHandle(),getDynamicsWorld()->getDispatcher());
m_character->reset ();
m_character->reset (m_dynamicsWorld);
///WTF
m_character->warp (btVector3(10.210001,-2.0306311,16.576973));