i have a problem roating a group of objects

I am trying to make a car with a mounted gun but, before trying to code the rotation following the mouse (think that i dont know how to do it but that dosent matter) i have to test the rotation of it.

This… car is made only with unity parts.

I can rotate the gun horizontaly with the yellow cilinder but for vertical rotation i am using a game object and rotates like this:

Now i group those parts on the wellow cilinder to allow horizontal rotation and happens this:

Do you know how i can fix this or what i am doing wrong? Thank you all

The problem is with the scale. The Yellow cylinder probably has a scale transformation, then when you make the torreta it’s child, it gets an scale transform to look good… But then you cannot rotate it.

Try to make the cylinder scale 1,1,1. If that’s not posible, create a new game object, make the cylicnder and the torreta it’s children and transform independently. This way everything will be easier.

Cualquier duda, pregunta sin miedo :wink: