For context, I'm creating a 2D top-down game and I would like to take advantage of the Bezier curves offered by the engine's Animation nodes. I have a script which sets the global location of the main scene node based on coordinates fed to the function.
set_global_transform(Transform2D(Vector2(1,0), Vector2(0,1), get_node("/root").get_size()/2 - WindowFocus))
Right now this happens instantaneously, but I'd like a nice transition. For some reason, I can't wrap my head around the animation and animation player nodes. How would I do this? Is there a better solution to this than what I've thought of?