so i want to make the barrel to rotate around the cylinder to face the target, just like this.
The problem is, I dont know how to do it. this turret is not like other turret where the barrel itself can rotate freely. I want to make it so that the turret can only aim 180 degrees vertically and 360 degrees horizontally (by the base, which is the dark gray part). i cant find any sources regarding this type of turret.
Hopefully this is enough information for you to help me.