Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
197 stars 9 forks source link

Lasers need Better WorldSpace Priority #500

Open TehTurk opened 4 years ago

TehTurk commented 4 years ago

https://discordapp.com/channels/402159838827905024/515553786102546442/706948330009133118 As shown here from the discord, it seems somewhat Janky and Unintuitive not being able to access something right in front of your Menu Space. Some current suggestions are:

-Changing Render Space of UI (Can't interact with objects in front of menus anymore tho)

Frooxius commented 4 years ago

This is a bit problematic due to security reasons. We could make them take priority now as before, but that's something I'm 100 % certain we'd have to revert to current state at some point in the future, because it can be exploited to locking users out of their private UI. Sometimes even errors make the UI non-intractable, like spawning enormous collider. This is something we need to address.

I'd rather avoid having to rely on some combinations (like the emergency respawn) that some people might not know.

What I'd suggest is tying this to the new dash. If you open the dash, it's going to act more as an overlay (think of Oculus Dash or SteamVR) always taking priority. If you open or pop out a single window or open the secondary private UI's, those won't take priority.

Actually thinking about it more, we could narrow it down a bit more. Have the dash have a special emergency button/facet, something like "Respawn". This button specifically will always take precedence, but the rest of the dash by default won't. That way you could spawn out things and interact mostly like you do now, but users would still be able to get out of tricky situations.

If this would be a facet, then you could even customize it (or remove if you don't want it).

What do you think about this solution?

TehTurk commented 4 years ago

Honestly this would be a really good idea and solution, having certain parts of the UI taking priority over others would be completely fine and 100% Perfect(Like Emergency Repsawn, other stuff etc). Because aspects of Friends, Inventorys etc would be somewhat of a problem in the future. I was considering the aspect of facets to solve this too but the issue we've only seen them conceptualized currently, and I figure that's the final thing being touched, and you can't really suggest for something that's not there yet.

TehTurk commented 4 years ago

Along with this actually Froox, would it be possible to add a Laser/UI Priority type of component as well? It would also let us define the priority of custom UIs in worlds and the like as well.

Psychpsyo commented 3 years ago

Having certain facets that take priority over other interactions sounds good to me.

shiftyscales commented 3 years ago

I don't think laser/UI priority is something that should be exposed to users/custom creations. Having the emergency facet button should fill the needs of this issue pretty well fully.