Child object spawn

hello

i am trying to create a images as a child object of a wall, like art gallery,
but when i attach them on the wall like child object they all add to the same place
so they hide one another. i do this with wall.add(and then the image mash) with a for loop
how can i make them not to spawn on one another

thanks

You can place the meshes
https://threejs.org/docs/index.html#api/en/core/Object3D.position

mesh.position.set( x, y, z );

Calculate x, y, z using the loop index. :slightly_smiling_face:

2 Likes