Files
orzo/docs/museums/spine/examples/06-bone-following/bone-following.gd

6 lines
134 B
GDScript

extends Node2D
func _ready():
var spineboy: SpineSprite = $Spineboy
spineboy.get_animation_state().set_animation("walk", true, 0)