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 BoneAttachment3D responding to only local transform changes #88884

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

MajorMcDoom
Copy link
Contributor

BoneAttachment3D was only listening to local transform changes. That means if override_pose was turned on, and the BoneAttachment3D was moved as part of a parent object (no local transform changes), it does nothing, in editor and at runtime. See broken behaviour below:
bone_attachment_broken

This PR corrects this by listening to global transform changes. See fixed behaviour:
bone_attachment

@MajorMcDoom MajorMcDoom requested a review from a team as a code owner February 26, 2024 19:04
@AThousandShips AThousandShips requested a review from a team February 26, 2024 19:05
@AThousandShips AThousandShips modified the milestones: 3.x, 4.3 Feb 26, 2024
@fire
Copy link
Member

fire commented Mar 1, 2024

@TokageItLab This is something in your area, may you take a look?

@akien-mga akien-mga merged commit d824b2c into godotengine:master Mar 4, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@yythlj
Copy link

yythlj commented Apr 11, 2024

This is important for moving games using bone, will version 4.2 be released in merger?thanks for reply

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.

6 participants