This began as a question, but in experimenting, I found my answer, and created a list of facts, below.
The question I began with is this: In terms of objects to be used in a game environment, what’s the difference between linking and appending? I realize what each does: linking just creates a link to the object, while appending actually places the object in the scene. So, I suppose what I’m asking is this:
In order to manipulate, in any way, a linked object, I need to Alt-D, or make an instance of it. The instance is still just a link, but a moveable object. What’s the advantage (I’ve heard that there is one) of linking objects, as opposed to just appending them? Is it a file size thing? I like the idea of being able to edit an object in its own file.
Here’s what I discovered, no doubt covered elsewhere, but I present it here for anyone who may be interested:
Some facts about linked objects:
- You can move and scale the instance of a linked object, without affecting the original linked object, or the source file.
- Any changes made to the mesh or texture of the original file will be passed along to both the original linked object and the instanced copy.
- Any changes made on an object level in the original file, such as moving or scaling, will not be passed along to instances.
- Instances and linked objects show up in the outliner.
- Deleting a linked object does not delete its instance.
- Textures for linked objects will themselves be links, but they will show up in the list of textures accessible through the UV layout panel.
- Deleting instances and original links does not delete linked textures. Is this on purpose?
- Linked objects and instances only add a very tiny amount to the file size, enough I suppose for the line of code that says “Hey man, grab that file and display it!”.
Conclusion: Linking is superior to appending in game environments at least, for the following reasons:
- File size is kept low
- Edits to the mesh of the original object to be linked to are easier
- Clutter in the main file is reduced.
So, to add a chair to a game environment:
- Link it
- place the linked object on an unused layer
- Make an instance (Alt-D) and place that on a layer you’ll see in the GE.
Just my ramblings on an old question I never really had all the answers to. Please correct my errors and let me know if you know of any other interesting facts concerning linking.