Combination of localRotate and RotateAround?

I’m trying to rotate an object around a point. Without any child objects the object rotate perfectly using the transform.RotateAround function.

The object that is rotating has child objects (including the camera). I want these to stay in the position on the parent object and just move with it. However they rotate around the point too, but since their position is different from the parents they get separated quite quickly.

Does anyone know how to prevent this? I searched and people were suggesting localRotation but I don’t know how that would combine with what I have now.


So the problem I was having was related to the hierarchy of the objects. I reorganized them and now it’s working.