diff --git a/index.html b/index.html index 9cd3182..0334a01 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + diff --git a/jxr-core.js b/jxr-core.js index d0254ce..e86d60a 100644 --- a/jxr-core.js +++ b/jxr-core.js @@ -170,9 +170,9 @@ AFRAME.registerComponent('pinchprimary', { // currently only 1 hand, the right o // see own trigger-box component. Could use dedicated threejs helpers instead. // https://github.com/Utopiah/aframe-triggerbox-component/blob/master/aframe-triggerbox-component.js#L66 // could make trigger zones visible as debug mode - let pos = event.detail.position - let parentPos = document.getElementById('rig').getAttribute('position') - pos.add( parentPos ) + //let pos = event.detail.position + //let parentPos = document.getElementById('rig').getAttribute('position') + //pos.add( parentPos ) //var closests = getClosestTargetElements( pos ) //if (closests && closests.length > 0) // avoiding self reference // setFeedbackHUD("close enough, could stack with "+ closests[1].el.getAttribute("value") )