Turret block gets stuck when rotors/hinges have limits
The new turret block does not seem to care about the rotor limits, which makes it get stuck when it tries to rotate past the limits, See first picture (TurretBug). It could instead rotate back and actually reach the target, see second picture (TurretCorrect).
This appears to be a bug in the first rotor (the azimuth motor). Every target has two potential angles the first rotor can take to aim at the target, but the current code appears to only try to go towards the target instead of checking both possible angles first to find out which one would (if any) reach the target given the rotor limitations. The current code also appears to try to reach targets that it can't ever reach (such as getting stuck trying to reach a target underneath your ship, instead of the ship currently shooting at you).
Please fix it so that the turret checks if it can reach a target before it starts moving towards it, and preferably check both possible ways to reach the target and pick the one closest to the current angle :)