Closed maaxxaam closed 1 year ago
Noticed something weird: I cannot use my laptop's trackpad together with the keyboard - looks like mouse movement events get suppresed. External mouse works okay though.
Edit: after some research, it appears that this behaviour comes from OS settings and has nothing to do with the engine itself.
Commit a520a7e changes the keyboard layout:
WASD
, R/F
and T/G
have not changed. Camera rotation uses Arrow keys
(both horizontal and vertical rotation), and camera rotation sensitivity can be changed separately now with Y/H
. Q
allows switching between arrow keys and mouse movement for camera rotation control.
Merged, Thanks :)
If you are interested, I have recently added support for moving Alan with very basic animations. If you want you could try to implement his Orbital Cam.
Adds support for capturing and adding bindings to mouse movement and button clicks. Also adds an option to lock mouse inside game's window. Includes a modified ControlledFreeCamera that uses mouse movement for camera rotation.
Related to #13