Hello,
as i try to implment a loading screen, i want to preload all assets
so i modified my code to load an asset only once, and clone it for each use
Code:
public static void CreateCreature(Vector3f pos,Matrix3f rot,String name)
{
if(creature==null)
creature = (Node) assetManager.loadModel("Models/Creature/Creature.j3o");
Node _creature=creature.clone(false);
…
but it does not work i only see one personage (creature), so i guess it is always using the same spacial, instead of creating real clones to be modified
what did i miss ??
it should work