RafficMaleo / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
1 stars 0 forks source link

Implement Right Click Drag mouse-look navigation #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Enable a Right Click Drag "mouse-look" navigation model where when the right 
mouse button is clicked in empty space and held, the mouse changes from "cursor 
mode" to "navigation mode".

Once the mouse is in "navigation mode", moving the mouse does one of two things 
depending on the axis:

Up/Down: The camera is panned up or down
Left/Right: The avatar turns left or right

Reasoning for left/right turning of avatar rather than panning camera: When 
looking around (especially left or right in a gravity based environment) it is 
second-nature to travel in the direction the camera is already pointing.  If 
only the camera pans and I decide to move in this direction, I first have to 
find center, then turn the avatar to the degree where I already was before.

Would we lose the ability for a right-click menu on objects?  Not at all.  Some 
conditionals could be put in place:

    If right-click on object, do not enter mouse-look mode.

Two options for densely populated environments:

    If right-click on object, and it is nearer than X units,
    do not enter mouse-look mode and instead show menu.

    If right-click-hold on object, and X milliseconds passes 
    without X/Y movement, do not enter mouse-look mode and
    instead show menu.

I write this Enhancement Request as someone speaking for the millions of people 
who come from a 3D Gaming background where the mouse-look navigation is 
prevalent. For more advanced games (with objects to interact with) 
right-click-drag is added on top of mouse-look to change from cursor to 
navigation modes.

Thanks!

Original issue reported on code.google.com by all...@gmail.com on 16 Sep 2011 at 2:18

GoogleCodeExporter commented 9 years ago
i don't know how to +1 this so I'll just leave a comment! :)

Original comment by josmasfl...@gmail.com on 21 Jan 2012 at 1:28