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

Make it clear Node2D.look_at() aligns the +X axis #91293

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

timothyqiu
Copy link
Member

The original description does not say how the node "points".

Rotates the node so it points towards the point.

In some games, the character sprite points upwards when rotation is 0, so reading this can be confusing.

@timothyqiu timothyqiu added this to the 4.3 milestone Apr 29, 2024
@timothyqiu timothyqiu requested a review from a team as a code owner April 29, 2024 00:16
@akien-mga akien-mga merged commit 3d03d73 into godotengine:master Apr 30, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@timothyqiu timothyqiu deleted the look-at-2d branch May 5, 2024 07:59
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.

4 participants