class_boneattachment.rst 849 B

12345678910111213141516171819202122232425262728293031
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the BoneAttachment.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_BoneAttachment:
  5. BoneAttachment
  6. ==============
  7. **Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. A node that will attach to a bone.
  12. Member Variables
  13. ----------------
  14. .. _class_BoneAttachment_bone_name:
  15. - :ref:`String<class_string>` **bone_name** - The name of the attached bone.
  16. Description
  17. -----------
  18. This node must be the child of a :ref:`Skeleton<class_skeleton>` node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone.