|
|
@ -29,8 +29,10 @@ var accumulative_offset := Vector3( 0.35, 0.0, 0.0) |
|
|
|
func _ready() -> void: |
|
|
|
func _ready() -> void: |
|
|
|
# FIXME: This is just thrown together. Dunno if this is an accurate list. |
|
|
|
# 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. |
|
|
|
# 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" ]: |
|
|
|
for side in [ "Left", "Right" ]: |
|
|
|
|
|
|
|
# Eyes |
|
|
|
|
|
|
|
tracked_bones.append("%sEye") |
|
|
|
# Legs |
|
|
|
# Legs |
|
|
|
for bone in [ "UpperLeg", "LowerLeg", "Foot" ]: |
|
|
|
for bone in [ "UpperLeg", "LowerLeg", "Foot" ]: |
|
|
|
tracked_bones.append("%s%s" % [ side, bone ]) |
|
|
|
tracked_bones.append("%s%s" % [ side, bone ]) |
|
|
|