Homeworld style rts control

  • for a horizontal plane:

  • for a vertical plane:

  • we trace against horizontal unless a modifier key is held:

More is needed to make it better. You could restrict axis for vertical adjustment like in @pezzott1’s example. Debug: