So I’ve been trying to get turret tracking down just right, but I can’t figure out for the life of me on how to limit its angles, anyone got any suggestions on what I could do?
local absoluteTurretCFrame = CFrame.new(script.Parent.Body.TurretPos.Position, Players[i].Character.HumanoidRootPart.Position)
To be honest, I wanted to make it out of contraints so there is no issues with it falling behind (The object is moving) but it comes down to the same problem as well. (I really suck at CFRAMES and angled stuff)
(If anyone has a good weld idea that can be limited on its angles, I’d gladly switch over to that)
I’ve been able to figure out how to limit up/down movement but its mainly left and right that I have issues with the most, and everything else I tried would result in the turret not turning at all, or it would have its gun flip backwards and kinda works, but I want it to be facing forwards from the middle point, with said limits.
(This is a example of how it works currently)