I understand and love the concept of modular buildings, however, I’m not sure what I should do and what I should avoid in the question of performance. (and the current internet doesn’t seem to offer the answer, all of the videos seem to be “how to make modular parts and why it’s cool”)
Is there any list/knowledge bank of what to do and what to avoid when making modular buildings?
I came up with this approach and I’ll be glad for any opinion whether it’s good or it will stab me in a future.
- In my case I want a cube-shaped panel building - four different walls + a flat roof (the attachment).
- The building is made using an actor with a construction blueprint, so it can have varying height and it can include some optional details just a checkbox away. All of the parts are static, co they generate a lightmap.
- Every floor is made out of 4 separated meshes of merged panels. (I found this the best compromise. If all of the panels were separated, I believe it would require more drawing calls and if the whole floor was one mesh, it wouldn’t cull itself)
- The actor would be partly active, it could change material or start/stop some particle components, when an event occurs.
If there’s any “knowledge bank” of rules to follow when making such buildings, I’ll be grateful for a link.