• 3D
  • how to attach an object to an animated model?

ive imported an animated .glb file how do u attach a node to the skeleton? as of now i only see 1 node for the entire skeleton in the editor.

as an example i want to attach a muzzleflash particle to a weapon bone

The way I solve this problem, is attaching an empty to the bone in the 3d editor. For example blender. I attach an 3d empty to the rig. Give it a good name. Another way is to attach a simple object to the rig bone. Such as a cube. Attaching a cube makes more cpu needed, but easier to setup in godot.

Also I need to give more information. When you do this godot will give you visual reference to the skeleton bone after importing.

@cybereality said: It's called BoneAttachment in Godot.

so i need to do it by script?

@cybereality said:

tnx didnt know that noob that i am works fine