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

Fix rest translation space in LookAtModifier3D #104217

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

TokageItLab
Copy link
Member

@TokageItLab TokageItLab commented Mar 16, 2025

Before #101311, LookAtModifier3D local translation was done in its own rotation space. After #101311, it now does global translation in the parent's rotational space, but it should correctly do local translation in the parent's rotational space.

Before:
image

After fixed:
image

@TokageItLab TokageItLab added bug topic:animation topic:3d cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Mar 16, 2025
@TokageItLab TokageItLab added this to the 4.5 milestone Mar 16, 2025
@TokageItLab TokageItLab changed the title Fix rest translation space in LookAtModifier3D Fix rest translation space in LookAtModifier3D Mar 16, 2025
@TokageItLab TokageItLab requested a review from a team March 16, 2025 06:53
@TokageItLab TokageItLab marked this pull request as ready for review March 16, 2025 06:53
@TokageItLab TokageItLab requested a review from a team as a code owner March 16, 2025 06:53
@Repiteo Repiteo merged commit 6940320 into godotengine:master Mar 17, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Mar 17, 2025

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.4.1.

@akien-mga akien-mga removed the cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

LookAtModifier3D rest space translation is wrong when parent bone is rotated
4 participants