Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[keyboard-controls] Add support for up down movement with configurable keys #424

Open
Emnolope opened this issue Apr 9, 2023 · 5 comments

Comments

@Emnolope
Copy link

Emnolope commented Apr 9, 2023

I'm reopening this issue.
#149
aframevr/aframe#809

Aframe is a high-level framework. That means it's supposed to be easy to use for new users, with a lot of prefabricated stuff to make working with it easier, even if it's not as powerful as 3.js

Navigating in 3d space is important. Not every 3d environment will act like the ground. I shouldn't have to reverse engineer the whole framework to get Q and Z to work like W A S D, because those are high level features. This isn't beginner friendly, and will definitely put vertical controls in the 'impossible to do' box of tasks for some.

@Emnolope Emnolope changed the title Add flag for WASD + up down movement in Aframe Add flag for WASD + up down movement Apr 9, 2023
@vincentfretin
Copy link
Member

Q and Z? Interesting. Do you know other softwares or games that uses those keys for up and down?
I customized aframe wasd-controls in an old project to use KeyQ/PageUp and KeyE/PageDown in wasd-controls to move up and down.
The extended-wasd-controls component is using R and F keys for up and down, and QE to move camera.

Also related to move camera:

We definitely want all those keys to be configurable.

@timriker
Copy link

PgUp/PgDown and some other key would be useful if up/down navigation is enabled. They would also be useful in navigating the Inspect Scene view. QZ, RF, etc. would be fine. If AD were turning, and shift-AD was strafe and then WS would be forward/back and shift-WS could be up/down.

@vincentfretin
Copy link
Member

@timriker Is the shift-AD for strafe something that is generally implemented in games? I'm not a PC gamer, or gamer at all, so I have no idea.

@vincentfretin
Copy link
Member

You can sponsor $100 to vincentfretin fully or partially to work on this feature. Find other work you can sponsor at https://github.com/c-frame/sponsorship

@vincentfretin vincentfretin changed the title Add flag for WASD + up down movement [keyboard-controls] Add support for up down movement with configurable keys Jul 14, 2023
@timriker
Copy link

I'm traveling, but in short, it depends. For vehicle controls there would not be strafing. Early games like Doom used turning. If the mouse is constrained to the window, then strafing works, but when the mouse is not constrained, turning works better for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants