How to get the shortest angle between two vectors?

You should be able to use the code I sent to figure out the angle, then just use the code you have for stopping the ship for rotating to that point. You’d probably just have to mess around with the numbers to get the values correct