JMonkey 3.0 Models / Model Problem

Hi, i ve a big Problem, my JMonkey only shows one Model at the same time.

Example: [java]
public void initWall()
for (int x = 0; x < 10; x++)
Spatial brick = assetManager.loadModel(“Models/bricks/brickTest.j3o”);
brick.setLocalTranslation(new Vector3f(x * brick.getLocalScale().getX() * 2 + 1f, brick.getLocalScale().getY()/2, -20.0f));



This should give me 10 blocks, etc…
but if i look on the map theres only one, and than, if i look a bit left the one dissapears and the second one appears.

thats not only in this method, its for all the same D:

can anyone help me pls?

sry for my bad english, its not my native language

ty, Aramis

Hi, I have tested the method which you showed and I can see all my 10 models at once (None disappear or reappear). Maybe the issue is somewhere else in your code.

ok i found the error, if someone has the same problems:
internet says u can use .obj and .scene Objects (Wavefront and Ogre) for jMonkey. The problem was the .obj which ll be shown, but only one onject at the same time.
so, who else have that problem, dont listen to the internet use only Ogre :stuck_out_tongue: