|
|
@@ -76,8 +76,8 @@ Cloned spatials share the same mesh, while each cloned spatial can have its own
|
|
|
|
|
|
The second use case is: When you load a model using `loadModel()` from the AssetManager, you may automatically get a `clone()`ed object. In particular:
|
|
|
|
|
|
-* If the model is not animated (it has no `xref:jme3/advanced/animation.adoc[AnimControl]`), jME loads a clone. All clones share one mesh object in order to use less memory.
|
|
|
-* If the model is animated (it has a `xref:jme3/advanced/animation.adoc[AnimControl]`), then `loadModel()` duplicates the mesh for each loaded instance. (Uses more memory, but can animate.)
|
|
|
+* If the model is not animated (it has no `xref:animation/animation.adoc[AnimControl]`), jME loads a clone. All clones share one mesh object in order to use less memory.
|
|
|
+* If the model is animated (it has a `xref:animation/animation.adoc[AnimControl]`), then `loadModel()` duplicates the mesh for each loaded instance. (Uses more memory, but can animate.)
|
|
|
|
|
|
Usually there is no need to manually use any of the `clone()` methods on models. Using the xref:asset/asset_manager.adoc[Asset Manager]'s `loadModel()` method will automatically do the right thing for your models.
|
|
|
|