Godot Version
4.4
Question
Hi all,
I wanted to try some experiments with the MeshDataTool but I’m having trouble assigning a mesh for it to process.
I have a simple scene setup with a mesh object.
Then I’m exporting the arraymesh to the editor.
[Export] public Node3D meshNode;
[Export] public ArrayMesh arrayMesh;
public void _Ready()
{
var mdt = new MeshDataTool();
mdt.CreateFromSurface(arrayMesh, 0);
I’m just not sure how to assign the arraymesh in the editor so I can supply it to the MeshDataTool.
Could someone point me in the right direction here?
Thanks!
Pete