1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00

Merge pull request #660 from danhedron/fix/bullet-perf

setForcedUpdateAllAabbs to false; Reduces stepSimulation time by 35%.
This commit is contained in:
Daniel Evans 2019-01-02 23:50:27 +00:00 committed by GitHub
commit 465f0ab056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,7 @@ GameWorld::GameWorld(Logger* log, GameData* dat)
_overlappingPairCallback.get());
gContactProcessedCallback = ContactProcessedCallback;
dynamicsWorld->setInternalTickCallback(PhysicsTickCallback, this);
dynamicsWorld->setForceUpdateAllAabbs(false);
}
GameWorld::~GameWorld() {