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

Make FPS camera navigation speed independent from frame rate #252

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

FeatherAntennae
Copy link
Contributor

Use time elapsed since last frame to make navigation speed consistent at different frame rates when using the first-person camera navigation style.

Fixes:

  • Camera barely moving when using keyboard controls for first-person camera navigation style at low fps.
  • Camera moving at light speed when using keyboard controls for first-person camera navigation style at high fps.

Use delta time to make navigation speed feel consistent at different frame rates for the first-person camera navigation style.

Fixes unusable first person navigation at low or high frame rates.
@nmwsharp nmwsharp merged commit a9a6c05 into nmwsharp:master Mar 3, 2024
@nmwsharp
Copy link
Owner

nmwsharp commented Mar 3, 2024

awesome! thank you, good fix

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

Successfully merging this pull request may close these issues.

2 participants