Expected behavior
W should go forward.
S should go backwards.
A should pan to the left at the same speed as D pans to the right.
Z should go upwards.
X should go downwards.
Desktop (please complete the following information):
OS: Windows 10 (1809)
Google Chrome
74
Additional context
This problem should be present in any xeo.gl example that doesn't override the default keyboard panning behaviour.
Describe the bug Keyboard panning is incorrectly implemented. Front / back panning works fine, but right / left and up / down does not. If we take a look at the code: https://github.com/xeolabs/xeogl/blob/e2eb6c626f7b65477d421aa5cc2c7c4c5f0e45ea/src/controls/cameraControl.js#L1111-L1127
We can see how the plus and minus signs are kinda mixed together.
To Reproduce Steps to reproduce the behavior:
Expected behavior W should go forward. S should go backwards. A should pan to the left at the same speed as D pans to the right. Z should go upwards. X should go downwards.
Desktop (please complete the following information):
Additional context This problem should be present in any xeo.gl example that doesn't override the default keyboard panning behaviour.