Skip to content

Fix FPS-dependent movement in Navigation AStar demo #1227

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jun 30, 2025

Previously, the way in which the spaceship steered depended on the rendered framerate. Very low framerates (< 20) could cause the ship to steer in circles with sharp turns.

This moves ship movement to the physics step to avoid this, and enables physics interpolation for smooth motion.

I noticed this while testing #1208.

Previously, the way in which the spaceship steered depended
on the rendered framerate.

This moves ship movement to the physics step to avoid this, and
enables physics interpolation for smooth motion.
@Calinou Calinou added the bug label Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant