THREE.VRController icon indicating copy to clipboard operation
THREE.VRController copied to clipboard

Event for original isPressed flag

Open Kif11 opened this issue 5 years ago • 0 comments

I needed access to original isPressed boolean in order to fly around the scene with the mouse press. So I have to add this in order to expose it.

if ( button.isPressed && isPrimary ) {
    controller.dispatchEvent({ type: 'primary pressed' })
}

I don't quite understand why it was not exposed original. It is such a basic thing to have.

I can make an PR for that if necessary.

Kif11 avatar Mar 28 '19 09:03 Kif11