give the EntityTree a pointer to its PhysicsWorld

This commit is contained in:
Andrew Meadows 2014-11-13 10:04:55 -08:00
parent 14f49df44d
commit ebe24b5c4c

View file

@ -2012,6 +2012,7 @@ void Application::init() {
#ifdef USE_BULLET_PHYSICS
_physicsWorld.initSafe(_entities.getTree());
_entities.setPhysicsWorld(*_physicsWorld);
#endif // USE_BULLET_PHYSICS
}