Using three.js, and adapting instructions from West Langley\'s post provided here: Three.js: Adding and Removing Children of Rotated Objects, I set up a WebGL scene to whic
SceneUtils.attach/detach has been deprecated since r105 . One should use Object3D's attach() method directly
// parent the cube to parentCube parentCube.attach(cubeMesh[i]); // parent it to the scene scene.attach(cubeMesh[i])
Remark : detach() doesn't exist anymore
detach()
three.js r.123