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

Modified jumping to use ground slope #105

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

Malcolmnixon
Copy link
Collaborator

This pull request fixes #104 by using the ground surface-normal when applying the jump velocity.

Additionally this contains a minor fix to flight movement where the flight toggling button check is performed _process. This allows flying to be disabled even if a higher-priority exclusive movement (such as climbing) is being performed.

…ity.

Modified flight movement toggling to be done in _process, so flying can be disabled even if an exclusive movement (such as climbing) is being performed.
@BastiaanOlij BastiaanOlij added the enhancement New feature or request label Mar 14, 2022
@BastiaanOlij BastiaanOlij added this to the 2.4.0 milestone Mar 14, 2022
@BastiaanOlij BastiaanOlij merged commit 3dd1f13 into GodotVR:master Mar 14, 2022
@BastiaanOlij
Copy link
Member

Thanks!

@Malcolmnixon Malcolmnixon deleted the jump-ground-slope branch March 15, 2022 01:07
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.

Jumping does not take into account the ground slope
2 participants