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

WASD movement should be continuous #9

Open
LogicalError opened this issue Sep 3, 2014 · 1 comment
Open

WASD movement should be continuous #9

LogicalError opened this issue Sep 3, 2014 · 1 comment

Comments

@LogicalError
Copy link

When moving using the walk or fly mode using the WASD keys it seems as if the editor moves on a key event, and then when the key event is repeated, it'll move on each event. A better way would be to set a flag when the key is pressed down and unset that flag when it is pressed up. At the same time, while the flag is set the movement should be continuous based on frame-time. This would make the movement in the editor much more fluid and there won't be a small delay before the camera starts moving, which is distracting

@abeckus
Copy link
Contributor

abeckus commented Sep 4, 2014

Hi Sander,
Thanks for the suggestion.
Yes it would be better to use render loop and frame time for handling wasd keys.
There are other issues with walk camera, for example it doesn't perform collision with ground plane/terrain.

Alan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants