Linking vs Adding Models

Hello everyone,

in the SDK Scene Composer you can “Add a Model to the Scene” and “Link a Model to the Scene”.
I have to questions regarding this functionality:

  1. Does linking Models have any advantages in terms of performance or memory usage during runtime?
    Or are all models just copied when the scene is created?

  2. Is there a way to do link models programmatically?
    I’ve made a little world editor and it would be great if the models auto-updated themselves, i.e. when the tree model changes, every model in the scene changes.

Thanks in advance!

1 Like

Can anyone answer that?

Ayeh, this is another trap. 4 years old question. But…

  1. To my knowledge, only advantage is the scene file size. It loads faster with linked items.
  2. Yes. With AssetLinkNode.
1 Like

Yeah, I just want to add on that:

  1. Linking doesn’t have any runtime advantage, apart from a smaller asset cache and loading stuff.

Think of it like that: Instead of copying the whole “tree” mesh in every single “world”/map you have, it just says “and here’s a tree”, this reduces map file size and hence loading times. Since every asset is cached after the first loading attempt by default, you’d have as many trees additionally in RAM as you’ve used in all your maps loaded

We are resurrecting a lot of dead threads lately. :roll_eyes:

1 Like

A zombie thread apocalypse.

3 Likes

I actually enjoyed the question and answer despite it being from 4 years ago :stuck_out_tongue: