I create a webvr scene and can see the scene with HTC vive.The problem is that when I press the trackPad of the right handle,the “onControllersAttachedObservable” doesn’t action.
so,how to edit my script to get the handle inputs?
I create a webvr scene and can see the scene with HTC vive.The problem is that when I press the trackPad of the right handle,the “onControllersAttachedObservable” doesn’t action.
Hey and welcome!
Pinging @RaananW
Howdy,
When you say trackpad, you mean the big circle thingy, right?
The trackpad is attached to onPadStateChangedObservable
. OnTrackpadValuesChangedObservable
is a variable created for the windows motion controller, the vive doesn’t support it. Try the onPadStateChanged, the value
variable of the state is the new value of the trackpad.