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:
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