RBVI / LookSee

LookSee molecular viewer for Quest VR headsets
2 stars 0 forks source link

Model sticks to controller when trigger released on a button #17

Closed tomgoddard closed 10 months ago

tomgoddard commented 10 months ago

If I drag a model by pressing the trigger button and move so the wand touches a user interface button and then release the trigger then the model continues to move with the hand controller even though no button is pressed.

tomgoddard commented 10 months ago

Fixed.

The grabbing code was ignoring the hand-controller button release event if a user interface button was selected. Made it only ignore the grab when the button is pressed, not when it is released.