but it’s not rotating it like I want it to. It is rotating all the children in the parent the same exact way as parent.
Here’s a 15 second youtube video showing what I mean.
How can I get the object to rotate like in the first part of the video?
Something mighty strange is going on there. You didn’t specify which transform “transform” in your code is referring to, but I think this must be in a script you have running on all the children.
If you actually rotated the parent, instead of each of the children, it would behave exactly like the first part of the video. I’ve done it many times; Unity would be seriously broken (and well near unusable) if it didn’t work that way.
So, please check where your script is, and make sure ‘transform’ refers to the parent, not the children.
I’m running this script on the main camera. I attach the Circle gameobject (the parent object) to the script that is on the main camera, and only tell it to rotate.