Apply/mirror rotation from master to children

Hello!
I am trying to copy the rotation of a master object to other children assets. I would like to be able to do this in the editor and not just at runtime, if possible. These objects do not have a bone structure. Just simple meshes within a blueprint actor class. I put together an example of what I am trying to accomplish below.
master to child rotation

If you want it to happen in editor, you can just use the construction script to copy the master rotation. But a lot depends on the component hierarchy.

3 Likes

Thanks for the reply! I mainly focus on creating content within sequencer, so that is what I meant by running ‘in editor’. I am developing a scene within sequener and it would be helpful to see the changes live before I start rendering out the scene.

I am not sure how to setup that construction script that you mentioned. I looked within the blueprint system, but I can’t seem to get it to copy for several objects. Would you mind sending me an example of the construction script you have in mind? I would really appreciate it!

1 Like

Thanks! This worked like a charm. I added it to the construction script as well as the event graph. That way I can see results in the editor and in the final render.

Quick questions. Say if I wanted to invert the axis for this. Say instead of X it would be -X. How might that be accomplished? Thanks again!!

You can right click pins to split them.


You could even take it further:

I also exposed the class variable - so I get to select which child class gets affected.

And finally:

You can create specialised actors and widgets that do all kind of cool stuff, run-time, but, most importantly, outside of PIE.

1 Like