BoneAttachment

Inherits: Spatial < Node < Object

Category: Core

Brief Description

A node that will attach to a bone.

Member Functions

String get_bone_name ( ) const
void set_bone_name ( String bone_name )

Description

This node must be the child of a 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.

Member Function Description

  • String get_bone_name ( ) const

Returns the name of the bone node attached to.

  • void set_bone_name ( String bone_name )

Changes the name of the bone node