How to create a axis indicator?

I am creating an application for the construction industry. I have the need to display an axis indicator that stays in the same place on the screen as the user rotates the objects in the scene.

I want to display something like this:

88259-3daxis.png

it just needs to rotate as the user moves the mouse but it should be soehow independant from the main camera, like it is a layer on top of all.
How to achieve this?
Somehow the final result should be something like this (see at bottom left):

Here is a solution that may fit your needs :

  1. Create the 3D model of your arrows and put them at the center of the world (0,0,0)

  2. Create a new layer for your arrows and put them in this layer. I will call this layer axisLayer.

  3. Create two cameras

    1. Your main camera which must not see the axisLayer. Uncheck axisLayer in the Culling mask dropdown of your main camera

    2. The 2nd camera, as a child of your 1st camera, with the following parameters :

      • Clear Flags : Don’t clear
    • Culling mask: axisLayer only

    • Depth : Whatever value which is superior to the 1st camera’s one

    • Projection : Orthographic

    • Viewport Rect : (0, 0, 0.2, 0.2) will place your arrows at the bottom left corner of your screen