Dear team,
I export from Blender complete character with animations. After that, if character has object in hand, I want to attach it to him.
If I use BoneAttachment and select "use external skeleton", then the skeleton cannot be found, as my Player object is exported from Blender and it cannot go inside of Player object.
Then I tried to do it so in _ready method:
var boneAttachment = BoneAttachment3D.new()
var skeletonPath = $Player/Bot/Skeleton3D.get_path()
boneAttachment.set_external_skeleton(skeletonPath)
boneAttachment.bone_name = "mixamorig_RightHand"
skeleton.add_child(boneAttachment)
boneAttachment.add_child(playerWeapon)
But then the bone is still not added to the skeleton correctly.
How did you do it in Godot 4?