Hey all iv started working on a personal project where the player is able to place blocks together. At the moment i have some blocks that allow you to move your creation and others that are just for visual looks. Now i know how to save and load these player made objects by giving that block an ID and saving the Vector and Quaternion of each block how ever some when a block is placed it becomes a child object of the block you last clicked. I need to know how i can also keep the blocks with the same parent after it loads. Otherwise blocks that allow you to rotate other blocks do not work correctly.
Since the blocks have an id, add a parent field with the id of the parent block (if any) when saving them?
Yeah hahaha. I was thinking that just after making the topic. I guess i got a little a head of my self when i made the topic. But thats exactly what iv done and all seems to work fine now.