Hello, I've only been using Godot for about a week now (so complete beginner) and I have a scene that looks like this:
Node 2D (script attached to it)
(+ other unimportant stuff)
I need the CollisionShape2D to be a ConvexPolygoneShape2D, however you can only set its points in code... I would like to do this in the script attached to the Node2D, but once I got to it I realized there were no tutorials on how to set this up and I've tried for several hours without success.
I would like to know how to set the points for the ConvexPolygoneShape2D in code (I am using gdscript), and as a bonus, I would like the points of the ConvexPolygonShape2D to change over time (which is why there is a Timer and the script is attached to the Node2D).