Forum

Invert Camera Controls

22 August 2017 02:32
Is there a way to invert the camera controls?

I don't know how to change it via code
22 August 2017 03:04
That is somewhat complicated since the controls are set up to work on all devices. For example if you touch-drag on a mobile device do you want the scene to move opposite of the swipe gesture?
Depending on what you want to do, I think you would go beyond just using the module functions, you would need to do some engine editing. You can look at the Controls JavaScript module in your SDK: blend4web/src/controls.js
Also see the Controls Module API.
 
Please register or log in to leave a reply.