We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e2d23a commit bada12cCopy full SHA for bada12c
1 file changed
hand-tracking.js
@@ -246,5 +246,11 @@ export class HandTracking extends Component {
246
247
setupVREvents(s) {
248
this.session = s;
249
+ for (let i = 0; i < s.inputSources.length; ++i) {
250
+ const source = s.inputSources[i];
251
+ if (!source.hand || !this.controllerToDeactivate) return;
252
+ this.controllerToDeactivate.active = false;
253
+ this.setChildrenActive(false, this.controllerToDeactivate);
254
+ }
255
}
256
0 commit comments