Version 4.2.2
Hello there!
How do you access and modify the value of a TimeScale Node in an Animation Tree?
Mine looks like this:
And as an example, I can access and modify the current animation like so:
@onready var animNode = animTree.get_tree_root().get_node("CurrentAnimation")
@export var locomotionLibrary : String = "Player_Locomotion/"
func _process(delta):
animNode.animation = locomotionLibrary + "Walk"
So theoretically, I should be able to access the TimeScale node in a similar way, like so:
@onready var animSpeed = animTree.get_tree_root().get_node("AnimationSpeed")
But then what’s the equivalent to
for that purpose?