Godot Version
4.5.1
Question
I am trying to animate an export variable using animation player a vector2 to be specific:
@export var position_offset : Vector2 = Vector2.ZERO : set = set_offset_position
....
func set_offset_position(new_offset: Vector2) -> void:
#
position_offset = new_offset
print(position_offset)
In the animation player i can add a track for the variable, i set the update mode of the track is continuos but when i run the animation the update is like the discrete case, so position_offset is updated only during the keyframes, not in between, the print output is something like this:
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 0.0)
(0.0, 10.0)
(0.0, 10.0)
(0.0, 10.0)
am i doing something wrong, or simply missing something?
thanks for your help