Hey there. I am using a
UniversalCamera for some game. In combination with
keysLeft, … I attached KeyCodes to the UniversalCamera so it will move on keydown, which is working perfectly fine.
Now, let’s say I have some function that should trigger
myCamera.moveLeft(). I couldn’t find anything like it in the docs, is there actually something like this?
Here is a playground having a
UniversalCamera where you could move with “W, A, S, D”. https://playground.babylonjs.com/#DWPQ9R#306