feat: update
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
extends SceneTree
|
||||
|
||||
func _init() -> void:
|
||||
var lib = load("res://assets/characters/animations/animation-pack.res") as AnimationLibrary
|
||||
var anim = lib.get_animation("walk_forward")
|
||||
print("=== walk_forward tracks ===")
|
||||
for i in anim.get_track_count():
|
||||
var type = anim.track_get_type(i)
|
||||
var path = anim.track_get_path(i)
|
||||
var type_str = ["VALUE","POSITION","ROTATION","SCALE"][type]
|
||||
print(" [%d] type=%s path=%s" % [i, type_str, path])
|
||||
quit()
|
||||
Reference in New Issue
Block a user