- Home /
How to move static objects with baked lightmaps? (Like level chunks)
I have a side scrolling game where the level is spawned in chunks from a chunk pooler mechanism. I want to bake the light maps for the chunks, which means I have to mark them as static, but I also need the pooler to be able shift chunks every once in a while to make the level keep going infinitely, basically whenever the player passes the chunk and its completely out of view, the pooler moves the chunk from its current position which the player already passed to a position ahead of the player so that it keeps reoccurring. How can I bake light maps for chunks that are going to be shifted like this every once in a while? Is there a way to do this? I tried having non-static parent objects and only the child objects are static but that didn’t seem to have the desired result either. Anyone have a solution for this?