Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instancing a Node with Unique/Unlinked resources #16680

Closed
vonflyhighace2 opened this issue Feb 14, 2018 · 4 comments
Closed

Instancing a Node with Unique/Unlinked resources #16680

vonflyhighace2 opened this issue Feb 14, 2018 · 4 comments

Comments

@vonflyhighace2
Copy link

Godot version:
Any

OS/device including version:
Any

Issue description:
Whether you duplicate or instance an object its resources are always linked back to the original node/scene. This means that technically you never really get a 100% unique object. This is a problem because if you wanted to tweak the object at run-time you basically have to hack together something every time to further duplicate/unlink the resources, which doesn't always work either at that. Having

Steps to reproduce:
Having the ability to create a complete copy and not just a half referenced clone really is a must have feature. I can't think of a reason why you won't want this functionality. maybe an extra parameter in the "instance" method to specify a complete copy?

Minimal reproduction project:
There might be another similar thread but not sure about it.

@LinuxUserGD
Copy link
Contributor

Take a look at
https://github.com/HugeGameArtGD/Solus-Stunts/blob/95b4beaad498732e57d4ea231731e0b18fed78d7/source/car/car.gd
It's possible to create a new ressource (e. g. Spatial Material) and assign values to it. This ressource is unique and can be applied to the object.

@vnen
Copy link
Member

vnen commented Feb 16, 2018

Looks the same as #1213.

@vonflyhighace2
Copy link
Author

That thread seem to talk about duplicating an existing node in the tree. I on the other hand want a 100% on-tethered copy of an instanced/packedScene. Different context I suppose.

@Chaosus Chaosus changed the title Feature request : Instancing a Node with Unique/Unlinked resources Instancing a Node with Unique/Unlinked resources Apr 14, 2019
@Calinou
Copy link
Member

Calinou commented May 27, 2020

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.

The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.

If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants