I was trying to create a simple pos interpolation func using tween, but can't get a callback with tween_complete when it's finished.
var anim = Tween.new()
# doesn't work!! -_-
anim.connect("tween_complete", self, "timeout")
anim.interpolate_property(self, "transform/pos", get_pos(), get_pos()+Vector2(10,10), 5, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
After the pos is changed I'm getting an error in debug window without any details.
And the callback isn't called.