diff options
author | ejcoumans <ejcoumans@08e121b0-ae19-0410-a57b-3be3395fd4fd> | 2006-10-06 05:22:13 +0000 |
---|---|---|
committer | ejcoumans <ejcoumans@08e121b0-ae19-0410-a57b-3be3395fd4fd> | 2006-10-06 05:22:13 +0000 |
commit | bf847b839a5310fedbf6c74772892db6570f94c1 (patch) | |
tree | 7b761ce4f24a99142cb5d58ba2720e907549cd5f /Demos/BspDemo | |
parent | 97b287a6bcd86ac05f17ec4c793c457f5ad2fe5e (diff) | |
download | bullet3-bf847b839a5310fedbf6c74772892db6570f94c1.tar.gz |
another large series of changes, related to the refactoring.
CompoundShapes are tricky to manage with respect to persistent contact points and swapped order of btCollisionObjects,
During dispatch, finding an algorith etc. order can be swapped.
fixed several other issues, related to SimpleBroadphase (removing a proxy was not working)
Diffstat (limited to 'Demos/BspDemo')
-rw-r--r-- | Demos/BspDemo/BspDemo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/BspDemo/BspDemo.cpp b/Demos/BspDemo/BspDemo.cpp index 2a2b37991..28fffe36a 100644 --- a/Demos/BspDemo/BspDemo.cpp +++ b/Demos/BspDemo/BspDemo.cpp @@ -134,6 +134,7 @@ void BspDemo::initPhysics(char* bspfilename) ///Setup a Physics Simulation Environment
m_dynamicsWorld = new btDiscreteDynamicsWorld();
+ m_dynamicsWorld->setGravity(-m_cameraUp);
#ifdef QUAKE_BSP_IMPORTING
|