How do I create a group of 3D boxes and rotate it?

How do I create a group of 3D boxes and rotate it?

A clear and concise description of what you are trying to do.

In my scene, I have created two 3D boxes and a few sliders to control their rotations along axes. The two boxes are also put in a group, called “bodies”.

When I move the first slider, both boxes are rotated a horizontal axis (the X axis). This works as expected.

The second slider rotates one of the boxes along the Y axis (vertical). This also works as expected.

The third slider rotates the group along the Y axis.

What is the expected result

When I move the third slider, I would expect the group to rotate around the Y axis of the group. One box would be moved closer to me, and the other one would be moved farther from me, until I have rotated the group 90°. A circular motion of the positions of the objects around the vertical axis of the group.

What is the actual result

Instead, the positions of the boxes remain fixed, and each box is rotated around their respective Y axis.

Related screenshots

Here is the scene when I have used the first two sliders. Using the third slider will put both boxes in the same orientation, but not reposition them, unfortunately.

Here is my event setup.

Project files (optional)

I could upload a .json.zip file, but the forum software doesn’t seem to allow me; it says “Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif).”