I’m this issue where I need to be able to rotate my objects by 90 degrees in either Yaw, Pitch or Roll axises.
It works nice and all, but the issue is that whenever I modify it’s Pitch or Roll rotation, it gets misplaced, it’ll move downwards by “half a block”. I know I can fix this by just doing some math, but I wanted to check here first if there’s a convenient way to prevent this from happening? I’d rather not have to modify the vector by a certain value for each block every time it’s rotated.
I hope that makes sense, if not, I can record a short clip :rolleyes:
And a second question, what would be a good way to save creations? For example I put down a few blocks and then I can save this and later load it into the world? First thing that comes up to mind is saving all the spawned objects into an Array. But how would I go about saving these arrays to later load them?