Rotation Along An Arc

Bit of an odd one, but the situation I seem to have dug for myself is I have a pyramid I’m rotating by 90 degrees at a time before stopping. I have some dynamically created objects that I need to turn with it when it moves. I’ve already worked out the rotation and positioning changes needed to make sure they keep the same relative position and rotation when they move to the new face at the same speed as the pyramid rotates.

The problem is that the closer to the base the object is, the greater the degree of clipping as it’s doing a linear transformation/rotation. Obviously, I’d like to not have it clip or disappear entirely inside the pyramid even if it does end up in the right place as soon as the pyramid is done rotating.

I’m looking for thoughts on how to make this work. Among the options I’m considering and need thoughts on before I throw a ton of extra work into this:

  1. Parenting each dynamically created object to the pyramid itself
  2. Creating a cylinder at the center, parenting the objects to the cylinder, and rotating that

I think these may be the most effective ways of getting the effect I want, but I’m not sure what the costs associated would be in terms of remodeling time, additional coding, etc. Of course if someone can think of a better way of doing it entirely, please let me know :slight_smile:

That’s actually how I move the pyramid. The simplest solution turned out to be simply parenting the dynamically created objects to the pyramid.