Allow Creators to Enable/Disable free mouse movement from Udon
Piano Walrus
Currently, desktop players can hold TAB to move their mouse around the screen freely, rather than having it control where they're looking in the game.
However, it would be nice if creators could toggle this functionality for certain games where it would make sense. For example, one might want to make some sort of 2D game board that would make more sense for a desktop player to interact with as a Canvas UI, rather than using traditional Unity UI inputs or VRCPickups (the latter being especially relevant given how tedious rotating VRCPickups is on desktop).
If you're worried about this being used maliciously, or about users being confused about it, you could even implement a setup like RequestFreeMouseMovement(), OnFreeMouseMoveAccepted(), OnFreeMouseMoveDenied() that asks the player for permission to enable the feature whenever a world would need it. But I can't imagine this ever being an issue, since the VRChat menu renders over everything AND can be interacted with even when this feature is in use.
Log In
DarkSwordsman
I think the problem is that some people use Tab to move their cursor outside the VRChat window, as an alternative to Alt-Tabbing. I am not against this feature, but it may impede legitimate use cases and could be an accessibility problem.
Piano Walrus
DarkSwordsman I'm not sure I understand how this feature would impede those users? If free mouse movement is already enabled by the world creator using this proposed feature, the player doesn't need to hold Tab to move the mouse outside the game window. Like, this feature would make their lives EASIER, not harder. And you can very easily just "while holding TAB, override Udon/world settings" regardless.
DarkSwordsman
Piano Walrus I misinterpreted the feature request. I thought you were suggesting that creators should be able to disable it, as in remove the ability for people to hold tab to move their mouse around.
But it seems like you are actually asking for the ability to enable the Tab feature? I.E: Unlock the mouse automatically so the player can use it in game mechanics?
Piano Walrus
DarkSwordsman Correct, yes. I'd like the option to enable it with Udon, in the event that it might be better to interact with the elements of a certain world with free mouse movement. Like, if a world contains a 2D game that makes more sense to be used with free mouse movement, but the rest of the world is just a standard hangout world. Or even if the entire world is a game world, where you would rather navigate the entire world using free mouse movement at all times. (The potential complications the latter might cause being why users would also be able to disable this feature in settings if they'd prefer)
Kitto Dev
This could be useful for world setting GUIs on desktop as well, this could be a good feature.