Skip to content

BoneAttachment3D does not update position on bone change #975

@Zeftax

Description

@Zeftax

Tested versions

Tested and present in 4.3.beta.custom_build, 4.3.stable.official and v4.4.alpha.custom_build.

System information

Redot v4.3.stable - Arch Linux #1 SMP PREEMPT_DYNAMIC Mon, 17 Feb 2025 17:42:11 +0000 - Tty - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 Ti (nvidia; 570.86.16) - Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 Threads)

Issue description

When changing the bone a BoneAttachment3D is attached to, its transform does not update in the editor.

Changing the scene tree does not update the transform.

Looking at a different scene and then switching back does update the transform, as does clicking on the relevant Skeleton3D in the scene tree.

If the project is run in the non-updated state, the attachment does have the correct transform in the project, however it keeps the old transform in the editor.

I presume this is not the expected behaviour, I have learned from last time and will get to fixing it once I've slept. In the meantime, if someone else wants to pick this up, let me know. If this is, in fact, expected behaviour let me know as well.

Steps to reproduce

  • Import a Skeleton3D with multiple bones.
  • Create a BoneAttachment3D and attach it to the skeleton.
  • Change the bone the attachment is attached to, nothing happens.
  • (optional) Change to a different scene and back, now the attachment has moved to where it is supposed to be.

Minimal reproduction project (MRP)

mrp.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Open

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions