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

BoneAttachment3D with override_pose only updating bone pose when local transform changes #92098

Closed
oaktrunks opened this issue May 19, 2024 · 1 comment

Comments

@oaktrunks
Copy link

Tested versions

v4.2.stable.official [46dc277]

System information

Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XTX (Advanced Micro Devices, Inc.; 31.0.23013.1023) - 13th Gen Intel(R) Core(TM) i7-13700KF (24 Threads)

Issue description

When a BoneAttachment3D node has override_pose enabled, the editor is not properly updating the bone transform if the BoneAttachment3D receives a global transform change but not a local one.

In the attached video you can see that the bone pose updates properly if i move the BoneAttachment3D node. But, when I move the parent node, nothing is happening to the bone. Then when I slightly move the BoneAttachment3D it will trigger the bone pose to update and snap to the correct position.

boneattachmentbug.mp4

Steps to reproduce

Start at step 5 if using the minimal reproduction project

  1. Set up a Skeleton3D
  2. Add a new Node3D
  3. Add a child BoneAttachment3D to the Node3D
  4. Set up the external skeleton on the BoneAttachment3D and target a bone, set override_pose to true
  5. Move the Node3D we created in step 2 and see that the bone pose does not update in the editor

(6. Move the BoneAttachment3D node slightly and see it teleport the bone to the correct position)

Minimal reproduction project (MRP)

BoneAttachment3DBug.zip

@oaktrunks
Copy link
Author

Already fixed by #88884. Sorry!

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

No branches or pull requests

3 participants