Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//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