extends SceneTree func _initialize():call_deferred("probe") func probe(): var actor=preload("res://soul_actor.gd").new(0);root.add_child(actor);actor.rotation=Vector3.ZERO actor.animator.play(actor.clips["Idle"]);actor.animator.advance(0);actor.animator.pause() for n in actor.find_children("*","MeshInstance3D",true,false):print("MESH ",n.name) var sk=actor.find_children("*","Skeleton3D",true,false)[0] for i in range(sk.get_bone_count()): var n=sk.get_bone_name(i) if n in ["root","hips","spine01","spine02","head","jaw"] or n.begins_with("upperleg01") or n.begins_with("lowerleg01") or n.begins_with("foot") or n.begins_with("upperarm01") or n.begins_with("lowerarm01") or n.begins_with("wrist") or n.begins_with("hand") or n.begins_with("toe"): print(n," world=",sk.to_global(sk.get_bone_global_pose(i).origin)," parent=",sk.get_bone_parent(i)) print("skeleton transform=",sk.global_transform) quit()