Forum

Disable keyboard controls

23 March 2018 17:30
Hello,
is there a way to disable keyboard controls?

Thanks in advance

Best Regards
24 March 2018 18:42
You can disable letter keys. See enable_camera_controls documentation.
Alexander (Blend4Web Team)
twitter
27 March 2018 11:23
Thank you, it works but now i cannot pan and zoom with the mouse.
27 March 2018 15:51
This code is working for me:
 m_app.enable_camera_controls(false, true);

WASD are disabled arrow-keys and mouse impact kept.
Is this what you've tried?
Alexander (Blend4Web Team)
twitter
 
Please register or log in to leave a reply.