i have got a moving and rotating mesh, i would like to add an absolute positioned / rotated child to the parent Object3D and it should keep its position when the parent element changes position or rotation.
parent_ = new THREE.Object3D()
parent_.add( new THREE.Mesh(new THREE.CubeGeometry(2, 20, 2), new THREE.MeshNormalMaterial()))
child_ = new THREE.Mesh(new THREE.CubeGeometry(30, 3, 30), new THREE.MeshNormalMaterial())
child_.position.set(1,10,1)
parent_.add(child_)
scene.add(parent_);
how can i calculate the position / rotation relative to the parent object3d from an absolute positioned / rotated object so it keeps it absolute position?