mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
setForcedUpdateAllAabbs to false; Reduces stepSimulation time by 35%.
This causes a drop from 6.5ms to 4.2ms on my machine.
This commit is contained in:
parent
711aad7701
commit
f7bd8701db
@ -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