|Topic was automatically imported from the old Question2Answer platform.
I have a multimeshinstance3d node in my scene and I want to see the properties update in real time in the editor when, e.g., I change the instance count in the inspector.
In my code, I loop through the instances and apply transforms to each based on a ‘center’ node, which is just a node3d. Multimesh Instance transforms are set to spawn around this center 3d node. Again, I want to see the instances ‘follow’ the center node as I move it in the editor.
I’m using the @tool keyword at the top. The logic for the multimeshinstance3d is all kept in one function (which does the looping, sets transforms etc). If I put that function in process, it will update real time in editor but it will be very expensive (especially with thousands of multimeshes). What I want to do is somehow detect when the center node is moved in the editor as well as when an export property is changed in the inspector, and only run the function then. How do I do that? I’ve experimented with the
property-list_changed signal, but to no avail…