[U->BJS] disabling input seems not working

Hi there,
I am using a camera rig component in Unity, then accessing it from the .ts file. My aim is to detach control from my active camera, temporarily, to prevent it from zooming in and out via touch control or mouse wheel. The problems:

  • the camera.inputs.mouse.detachControl() does not compile
  • I have tried a workaround with setting wheel percentage or delta percentage to 0 or close, to no effect.
  • camera.detachControl() does nothing.

Probably I am doing something wrong; is there a complex playground for input handling?

Best regards

At least camera.detachControl() should work and disconnect all controls from the camera.

I guess we will need a repro to understand what’s not right.