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

Use shift key to accelerate camera in walk and fly modes #45

Open
mjhorvath opened this issue May 25, 2021 · 3 comments
Open

Use shift key to accelerate camera in walk and fly modes #45

mjhorvath opened this issue May 25, 2021 · 3 comments
Assignees

Comments

@mjhorvath
Copy link

mjhorvath commented May 25, 2021

It would be nice if camera movement were faster in walk mode when holding the shift key. Thanks.

@mjhorvath mjhorvath changed the title Shift key accelerate camera in walk-through mode Shift key accelerate camera in walk mode May 25, 2021
@mjhorvath
Copy link
Author

mjhorvath commented May 25, 2021

I guess this could be applied to fly-through mode as well.

@tcobbs
Copy link
Owner

tcobbs commented May 26, 2021

The camera motion is supposed to take into account the frame rate, and adjust accordingly so that you get reasonable motion at any frame rate. Unfortunately, this doesn't work right, and I don't know why. If the frame rate is extremely high, the camera moves too fast, and if it is low, it moves too slow. As an aside, shift dragging moves the light source.

@mjhorvath
Copy link
Author

mjhorvath commented May 27, 2021

Sounds like you maybe have a negative value flipped somewhere. I.e., somewhere a -1 should be 1 and a 1 should be a -1.

You could limit the shift behavior to key presses and not change things for the mouse.

@mjhorvath mjhorvath changed the title Shift key accelerate camera in walk mode Use shift key to accelerate camera in walk and fly modes May 27, 2021
@tcobbs tcobbs self-assigned this Feb 12, 2022
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