Ships must be controlled in 3d space. When ships are told to move somewhere on the map, they should move only on the x, and y. The z stays constant, and that is how, a location on the map can be found from the mouse cursor position. Then, when the player holds the SHIFT key, he can move his mouse up, or down to indicate the location on the Z axis. Once the mouse-click is release, the ships are ordered to move to that position.
Implement ship movement control system.
Ships must be controlled in 3d space. When ships are told to move somewhere on the map, they should move only on the x, and y. The z stays constant, and that is how, a location on the map can be found from the mouse cursor position. Then, when the player holds the SHIFT key, he can move his mouse up, or down to indicate the location on the Z axis. Once the mouse-click is release, the ships are ordered to move to that position.