![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | vonflyhighace2 |
![]() |
Old Version | Published before Godot 3 was released. |
I have objects that I need to spawn but some are duplicates that have to be unique. Is this Possible to do with packed scenes?
That’s a vague question, could you clarify what specifically you’re trying to do.
Anything instanced should be unique. Their properties can be identical, but they are allocated into different pieces of memory and possess their own state.
avencherus | 2016-10-26 03:04
Sorry for the late reply. What I meant was that instance scenes share resources. Even though the are allocated in memory differently if the engine sees that you are accessing the same resource it defaults to referencing the resource rather than copy it. so all instances of the same scene even though unique as a node, share properties. Change material on one node changes it on all nodes of the same instanced scene basically. I Want to default to coping a node upon instance instead.
vonflyhighace2 | 2016-10-27 19:13