Neos-Metaverse / NeosPublic

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

Gizmos can't be interacted with unless the trigger is fully released after clicking a button #1404

Open Earthmark opened 3 years ago

Earthmark commented 3 years ago

What happened: gizmo is sometimes unresponsive after first being spawned by selecting an object via the inspector

What I expected: the gizmo is interactive as soon as it is spawned.

Current workaround: Laser away from the gizmo for a second or two, sometimes shaking the hand is needed, then the gizmo can be interacted with (this may be a red herring and it's just a time thing)

I'll provide a video in a bit here if this isn't a known issue, that may help explain the issue.

Earthmark commented 3 years ago

I should mention this has been a thing for me for a long while, it's not new and I'll check if this was resolved as per the latest update (which seems to have poked a related system)

ProbablePrime commented 3 years ago

Hamish has been plagued by this for months and after he described it i noticed it too! thank you for opening this.

shiftyscales commented 3 years ago

Do we have any specific replication steps for this issue? I've not been able to recreate it/have not experienced it.

When the issue is occurring, is there anything else in the scene that could also have the laser's priority, e.g. your dashboard/local UI, an inspector/some other interface?

ProbablePrime commented 3 years ago

Dash is closed, empty worlds

Try this:

  1. Spawn a box
  2. From now on try to keep the laser near/on the box
  3. Select the box
  4. Try to move it using the gizmos

Its really hard to replicate until you've seen someone show you how to replicate it in game because a lot of what we do is based on constant movement. Those users who are quite still while selecting things will experience it from time to time and once shown I now experience it as i'm more aware of the issue.

shiftyscales commented 3 years ago

I figured out the issue, but it's nothing to do with movement.

The issue is that the user isn't fully releasing their trigger, so I guess internally its state isn't reset.

https://cdn.discordapp.com/attachments/439422161657135106/783499325690085406/2020-12-01_17-04-07.mp4

A relevant clip demonstrating the issue, @Frooxius.

H3BO3 commented 3 years ago

Could this be fixed by primary activation always overriding the internal laser state when a tool is equipped? Seeing as most tools always have lasers on anyway.

shiftyscales commented 3 years ago

It seems this is just specific to having previously performed an action with the click, @H3BO3. E.g. if all you do is click the trigger/activate the laser you can still use gizmos fine. It's specifically when you interact with something, e.g. clicking on a button that this issue occurs.