Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

BoneAttachment3D

Inherits: Node3D < Node < Object

А node that dynamically copies or overrides the 3D transform of a bone in its parent Skeleton3D.

Description

This node selects a bone in a Skeleton3D and attaches to it. This means that the BoneAttachment3D node will either dynamically copy or override the 3D transform of the selected bone.

Properties

int

bone_idx

-1

String

bone_name

""

bool

override_pose

false

Methods

NodePath

get_external_skeleton ( ) const

bool

get_use_external_skeleton ( ) const

void

on_bone_pose_update ( int bone_index )

void

set_external_skeleton ( NodePath external_skeleton )

void

set_use_external_skeleton ( bool use_external_skeleton )


Property Descriptions

int bone_idx = -1

  • void set_bone_idx ( int value )

  • int get_bone_idx ( )

The index of the attached bone.


String bone_name = ""

  • void set_bone_name ( String value )

  • String get_bone_name ( )

The name of the attached bone.