Hi All,
I'm having a error regarding to my mesh when adding the 'boneHand' plugin with react. Here is the error below, for reference, I've reviewed the documentation and I cant seem to find the problem, any help would be greatly appreciated?.
Example:
Leap.loop()
.use('boneHand', {
targetEl: document.body,
arm: true
});
Error:
TypeError: Cannot set property 'enabled' of undefined
initScene
C:/Users/schemagroup/Desktop/vacio/vacio-proto/node_modules/leapjs-plugins/main/bone-hand/leap.bone-hand.js:22
19 | renderer.setClearColor(0x000000, 0);
20 | renderer.setSize(width, height);
21 | renderer.domElement.className = "leap-boneHand";
22 | renderer.shadowMap.enabled = true;
| ^ 23 | renderer.shadowMap.type = THREE.PCFSoftShadowMap;
24 | targetEl.appendChild(renderer.domElement);
25 | near = 1;