From dc8c3809863bd699b72891dac90b8118ee947c75 Mon Sep 17 00:00:00 2001 From: badlogic Date: Tue, 10 May 2022 12:19:44 +0200 Subject: [PATCH] [godot] Fix bone-following.gd to not connect to "world_transforms_changed" --- .../example/examples/06-bone-following/bone-following.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spine-godot/example/examples/06-bone-following/bone-following.gd b/spine-godot/example/examples/06-bone-following/bone-following.gd index caa900ac7..7294ee6a4 100644 --- a/spine-godot/example/examples/06-bone-following/bone-following.gd +++ b/spine-godot/example/examples/06-bone-following/bone-following.gd @@ -2,5 +2,4 @@ extends Node2D func _ready(): var spineboy: SpineSprite = $Spineboy - spineboy.get_animation_state().set_animation("walk", true, 0) - spineboy.connect("world_transforms_changed", self, "_world_transforms_changed") + spineboy.get_animation_state().set_animation("walk", true, 0)