#"Make Unique" as a function
38 messages · Page 1 of 1 (latest)
Are you sure you're using duplicate correctly?
They shouldn't be linked after duplicating
I've tried a few different flag sets, and none of them seem to work as intended
Upper left is made unique in editor. Ones on the right are duplicate()s of the bottom left one.
That's just duplicating a node, not the mesh
Assuming it needs to be duplicated, then yes
That... okay I kinda hate that, I haven't seen anything like that anywhere
Why are you duplicating nodes instead of using scenes or something?
Resources are reference types, so if you duplicate a node, it just copies the reference
I mean, I need copies of the script too.
And I tried using scenes, but those got linked too.
I tried Duplicate and Instance with a pre-loaded resource, both had the exact same result.
In a scene you can set "local to scene" on any resource that you want to have a local scene copy, rather than a reference to the same copy
Wat. How?
Just check the box
Okay, where
On the resource
Do you mean in MeshInstance in the Inspector?
How are you changing the mesh anyway? That code didn't really show that
Modifying shape keys using the script in the MeshInstance node.
... Blend Shapes
These bits.
Also, to anyone else who looks at this asking the same thing: this button here
-> Resource tab -> Local To Scene
You REALLY gotta be more specific to what buttons we're supposed to click in the editor, but thanks for nudging me in the right direction.
You found it, so seems like I was specific enough