- Home /
Question by
edthered1009 · Mar 19, 2020 at 04:00 AM ·
buildingminecraftblocksvoxels
Help! Saving blocks in a grid-based building system
I have this fairly simple building system (like in Minecraft) where I call a function from a static class. I give it the position of the point you're looking at (plus a small multiplier of the normal). Then, when I get a mouse click, I instantiate the GameObject of the item at the center point returned by the static function. This worked fairly well, but I understand that for world generation and saving the terrain, I simply cannot do this without it being horrendously laggy. I considered basic voxel rendering, but the blocks need to have functionality, and I want more detailed models. What can I do?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612225244im_/https://answers.unity.com/themes/thub/images/avi.jpg)