Godot Version
4.2.2
Question
I’ve been trying to draw a circle with draw_arc, and animate it with an AnimationPlayer. It doesn’t seem to draw.
Here are the relevant parts of the Node2D that parents the AnimationPlayer. Looks simple enough.
func _process(_delta):
queue_redraw()func _draw():
draw_arc( Vector2.ZERO, radius, (0.0), (2 * PI), points, color, width, antialiased)
Those are all export variables, and the AnimationPlayer has three keyframes that control the radius. There’s a function that successfully triggers the animation, but the animation isn’t visible.
This is my first time with _draw so I might be missing something basic? I successfully drew a static arc, and ensured there’s nothing covering it and so on.