Hello,
how can I assign the AnimationPlayer an AnimationTree by code
I have written the following code:
animation_player = scene_object.get_node("AnimationPlayer")
animation_tree_object.set_animation_player(animation_player.get_path())
I get the following message in the debugger:
scene/animation/animation_tree.cpp:793 - AnimationTree: path points to a node not an AnimationPlayer, disabling playback
Greeting, Denis Janssen