Hey!
I've been working on a project and came across and odd problem. for some reason, the code below is just not working. I know the function is working from use of print statments, and there are no error messages, its just like the code skips over all of the important bits
func set_spawn(location: Vector2, direction: Vector2):
animationTree.set("parameters/Idle/blend_position", direction)
animationTree.set("parameters/Run/blend_position", direction)
animationTree.set("parameters/Attack/blend_position", direction)
animationTree.set("parameters/Roll/blend_position", direction)
position = location
for some extra context, I have a door scene, and that has a map file, spawn location and spawn direction and that passes on all of that to a scene manager, who fades to black, wipes the CurrentScene node and replaces it with the desired one, sets the player spawn location/direction, and fades to clear.