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

Normalise p_up_direction vector in move_and_slide() #36079

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

madmiraal
Copy link
Contributor

@madmiraal madmiraal commented Feb 10, 2020

Normalises p_up_direction vector in move_and_slide() and move_and_slide_with_snap()

Also fixes tolerance in move_and_slide_with_snap() max floor angle, by making move_and_slide_with_snap() floor detection the same as move_and_slide().

Fixes #39506
Closes godotengine/godot-proposals#402

@madmiraal
Copy link
Contributor Author

Rebased following rename to physics_body_3d.cpp

move_and_slide_with_snap() and fix tolerance in
move_and_slide_with_snap() max floor angle.
@madmiraal madmiraal changed the title Add tolerance to move_and_slide_with_snap() max floor angle. Normalise p_up_direction vector in move_and_slide() Jun 16, 2020
@madmiraal
Copy link
Contributor Author

Updated to include fix for #39506.

@akien-mga akien-mga merged commit 2ad7eb9 into godotengine:master Jun 16, 2020
@akien-mga
Copy link
Member

Thanks!

@madmiraal madmiraal deleted the fix-35744 branch June 16, 2020 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants