Hello everyone. This is my first post here.
Just started ,recently, with Godot (just a couple of days ago) and, since I work with 3D for over 30 years and I program in a few programming/scripting languages, I'm loving what I found out until now, in Godot.
I came across an issue, though. I created a MeshInstance node and added new ArrayMesh and a script to it. The script creates all the necessary arrays (Vertex, Normal, Index... still missing the UVs) and the object gets created fine.
But... It only gets created when I open the project. If I make adjustments to the code, I get no feedback of the changes in the Editor. I have to run the project or save it, close it and open it again.
I did add the tool keyword to the top of the script, to try to make it update it in the editor.
I even have some "exposed" variables (using the uniform prefix) and they do show up in the Inspector.
But, even if I change them, the mesh doesn't update.
Probably it is due to the fact that I'm generating the code in the _ready function and that only executes at the start of the execution of the project.
So, what other func should I use to make sure that any changes to the code (or the uniform variables) trigger a new calculation of the mesh?
Thank you very much in advance and forgive any mistakes I may have written, as english is not my native language.