Created
June 24, 2019 14:23
-
-
Save flushpot1125/6aded65b5a0c451d4540f50a1579b441 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//stick | |
webVRController.onPadValuesChangedObservable.add((stateObject)=>{ | |
if(webVRController.hand ==='left'){ | |
console.log("[Left]x:"+stateObject.x+",y:"+stateObject.y); | |
}else{ | |
console.log("[Right]x:"+stateObject.x+",y:"+stateObject.y); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment