mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
Merge pull request #660 from danhedron/fix/bullet-perf
setForcedUpdateAllAabbs to false; Reduces stepSimulation time by 35%.
This commit is contained in:
commit
465f0ab056
@ -92,6 +92,7 @@ GameWorld::GameWorld(Logger* log, GameData* dat)
|
||||
_overlappingPairCallback.get());
|
||||
gContactProcessedCallback = ContactProcessedCallback;
|
||||
dynamicsWorld->setInternalTickCallback(PhysicsTickCallback, this);
|
||||
dynamicsWorld->setForceUpdateAllAabbs(false);
|
||||
}
|
||||
|
||||
GameWorld::~GameWorld() {
|
||||
|
Loading…
Reference in New Issue
Block a user