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

Update the description and parameter name for Vector3 reflect to correct how the plane is constructed #91376

Merged
merged 1 commit into from
May 1, 2024

Conversation

clayjohn
Copy link
Member

Addresses the comment in #89404 (comment)

The previous name/description was wrong. While describing the plane as a direction seemed convenient. It doesn't make sense in practice since a direction can be used to create an infinite number of planes (by rotating on that axis). Calling the param a normal is more correct.

When describing the parameter as a normal, we have to be very careful to distinguish between reflection and bouncing as the words in plain English essentially mean the same thing.

CC @aaronfranke What do you think?

@akien-mga akien-mga merged commit 4e30bc7 into godotengine:master May 1, 2024
16 checks passed
@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
Development

Successfully merging this pull request may close these issues.

3 participants