# Separate Turret Rotation

How would I go about making a turret on two motors? (not literal motor constraints but two points of rotation)

As you can see in this turret, it turns left and right through the lighter grey part, but goes up and down on the darker grey bit. Is this achievable with CFrames?

I tried to google an answer but found turrets with left/right motion only. I’m confident I’ve probably missed a post like this so I apologise if I have made a duplicate.

You can rotate the lighter gray part individually, and after multiplying the turret by the initial offset from the lighter gray part, multiply by the rotation offset. This could be simplified by only manipulating the angles if you are not meaning for the turret to move position wise, but the most efficient approach I could think of was with the entire offset including position displacement.

1 Like

Rotate the light grey part left to right. “Light grey looking at the X, Z vector”
Rotate the dark grey part up and down within a constraint. “Dark grey aimed the Y vector”

1 Like