From cf0d8da99f3cdb45f015885e0ba8de273d3b027b Mon Sep 17 00:00:00 2001 From: copygirl Date: Tue, 10 Dec 2024 12:28:27 +0100 Subject: [PATCH] Track spine and eye bones --- copyMultiplayer.gd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyMultiplayer.gd b/copyMultiplayer.gd index 318930b..ee03952 100644 --- a/copyMultiplayer.gd +++ b/copyMultiplayer.gd @@ -29,8 +29,10 @@ var accumulative_offset := Vector3( 0.35, 0.0, 0.0) func _ready() -> void: # FIXME: This is just thrown together. Dunno if this is an accurate list. # TODO: Allow specifying additional bones, with the help of a hierachical list of existing bones in the model. - tracked_bones = [ "Hips", "Chest", "UpperChest", "Neck", "Head" ] + tracked_bones = [ "Hips", "Spine", "Chest", "UpperChest", "Neck", "Head" ] for side in [ "Left", "Right" ]: + # Eyes + tracked_bones.append("%sEye") # Legs for bone in [ "UpperLeg", "LowerLeg", "Foot" ]: tracked_bones.append("%s%s" % [ side, bone ])