Tags: mgiuca/two-hands
Tags
Fix WebXR button and input detection. Had to partially roll back the OpenXR Action Map work because WebXR doesn't use it. Instead, we manually detect the trigger and button input names that we so gracefully avoided. WebXR works again, but probably only on Touch/Pico and similar controllers.
Major fix for ball bouncing randomly. It turns out that balls were frequently bouncing off the 'shadow' animatable body of the other ball, or in some cases even themselves, because the animatable body was invisible but its collision sphere was still active. This would look like a ball randomly bouncing off to nowhere, but it can be seen and reproduced clearly if debug collision shapes are turned on. Disabled the ball objects when not in use.