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

Ensure max_speed limit is enforced #166

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

Malcolmnixon
Copy link
Collaborator

This pull request fixes issue #165 by clamping the magnitude of the ground_control_velocity vector rather than clamping each axis individually This ensures the vector magnitude never exceeds the max_speed limit.

…her than on each axis individually. This ensures the vector magnitude never exceeds the max_speed limit.
@BastiaanOlij BastiaanOlij added the enhancement New feature or request label Jul 26, 2022
@BastiaanOlij BastiaanOlij added this to the 2.6.0 milestone Jul 26, 2022
@BastiaanOlij BastiaanOlij merged commit 093d1aa into GodotVR:master Jul 26, 2022
@BastiaanOlij BastiaanOlij linked an issue Jul 26, 2022 that may be closed by this pull request
@Malcolmnixon Malcolmnixon deleted the movement-max-speed branch July 27, 2022 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Player can move faster than Direct_Movement Max Speed setting
2 participants