Parenting meshes

Hi guys,
I am having trouble with a dumb thing. I am trying to set the parent of the mesh by using:
mesh.parent = myParentMesh; and when I log the mesh the parent is not set.
I also tried myParentMesh.add(mesh)
I didn’t find a method for setting the mesh in the docs.

Thanks in advance :slight_smile: :smiling_face_with_tear:

the correct method would be


have a look at this pen…

at lines 49 and 50…

  parentName.innerHTML = 'parent: '

Thank you very much :slight_smile:

1 Like