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

Updated out of date CharacterBody documentation. #58261

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

EMBYRDEV
Copy link
Contributor

CharacterBody documentation incorrectly stated that calling move_and_slide from _process would cause the simulation to run at an incorrect speed.

As evidenced by physics_body_3d.cpp and physics_body_2d.cpp, this is no longer the case.

It is important that this warning is removed as calling move_and_slide from _physics_process can result in visibly jerky movement when running on high refresh rate displays. A developer may wish to switch player movement to _process to allow for smooth control without having to pay the cost of a higher physics tick rate but would be warned away from this change by the docs.

@EMBYRDEV EMBYRDEV requested a review from a team as a code owner February 17, 2022 23:48
@Chaosus Chaosus added this to the 4.0 milestone Feb 18, 2022
@akien-mga akien-mga merged commit 887d4bd into godotengine:master Feb 18, 2022
@akien-mga
Copy link
Member

Thanks!

@EMBYRDEV EMBYRDEV deleted the CharacterBody-docs-update branch February 18, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants