Search Unity

Optimizing a "semi static" environment?

Discussion in 'AR/VR (XR) Discussion' started by BortStudios, Jun 10, 2016.

  1. BortStudios

    BortStudios

    Joined:
    May 1, 2012
    Posts:
    48
    We are currently developing a game that takes place on a train. This means that a lot of the environment is closed in, so I should be able to take advantage of a lot of things like occlusion and baked/batched lighting

    However, I also want to give the impression that the train is moving. This means it can't be static. There is also a scene where it pulls up and you get on it, so I can't do something like making the world move instead of it, so it stays static.

    Is there a way to get the benefits of static objects for this situation? It is frustrating that you can be in a completely closed room on the train, but the objects in it cannot seem to take advantage of batched lighting and occlusion because the train car itself is moving.

    Is it possible to designate the interior of the train as static, while the cars themselves will be moving? Or will I just need to resort to other means?