How can I create a plane with a shape that I can define in editor through components locations?

Id like to create a plane by setting 4 points into the world that I can change in editor. (kinda like a spline mesh: move around points to create a shape)

I tried to create a mesh in the constructionscript from the relative locations of 4 components. Sadly the mesh will be generated once for the default values and changing the components locations on editor instances will have no effect since the constructionscript will only get called once and not be updated (like on a variable change)…

Here some pictures of what I currently have:

Now if i put on 4 vectors instead of the relative locations of the components it works just fine, but id prefer to change the shape by the components transform gizmo and not by manually entering numbers.

How could I do this?

The solution was to just make vector variables and enable the option “Show 3D widget” on them.

I don’t understand. Can you give more detail as to how you accomplished this?

Its been a while, but if I remember correctly variables have settings/properties that can be changed by selecting it where they are declared. (in the blueprint class)

If your variable is of type Vector then one of these settings is “show 3D widget” - wich nicely puts the transform gizmo into the world editor to set the value of the Vector.