First of all, I'm a complete noob in three.js and currently struggled with detecting the hand of the controller. I want to achieve something like that:
for (let i = 0; i < 2; ++i) {
const controller = renderer.xr.getController(i);
console.debug(controller.hand); // 'left', 'right' ??
scene.add(controller);
}
What is the best way to do this?