I have 4000 cubes, and I have built them with the aid of the json file, then I put them as a child of one Box, to rotate whole of my structure. the Box is in the (0,0,0) point, and the other cubes are in near of (8000,6000,300) point, the problem is when I rotate the box , the other cube rotate on orbit, but i want just to rotate on their local point, I mean i want to rotate whole of 4000 cubes as a one structure in terms of X.Y and Z axis.
this is an example of one cube:
and these are screen shot of my design:
this is the with no rotation:
and when i want to rotate it in y axis (45 degree) the structure move on orbit.
i don’t want to move the structure, i just want to rotate on X,Y and Z axis.
note: the Box is in (0,0,0) point and the cubes of structure are in about (8000,6000,300) points.