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

Rename speed to velocity when it's a directional Vector #56322

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

madmiraal
Copy link
Contributor

As identified by @EricEzaM in #42450, "speed is a scalar quantity, and is the magnitude of velocity. In godot, when speed is represented as a vector, it is actually a velocity since it represents both magnitude and direction."

This PR changes those instances of speed to velocity when they refer to a directional Vector.

Closes #42450.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that it's more accurate this way.

@akien-mga akien-mga merged commit 4662438 into godotengine:master Jan 11, 2022
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants