Explorar el Código

Merge pull request #6433 from gero3/patch-38

Update SceneUtils.html
Ricardo Cabello hace 11 años
padre
commit
8d955f93a0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      docs/api/extras/SceneUtils.html

+ 2 - 2
docs/api/extras/SceneUtils.html

@@ -32,7 +32,7 @@
 		parent -- The parent to attach the object from.
 		</div>
 		<div>
-		Attaches the object to the parent without the moving the object in the worldspace.
+		Attaches the object to the parent without the moving the object in the worldspace. Beware that to do this the matrixWorld needs to be updated, this can be done by calling the updateMatrixWorld method on the parent object.
 		</div>
 
 		<h3>[method:null detach]([page:Object3D child], [page:Object3D parent], [page:Object3D scene])</h3>
@@ -42,7 +42,7 @@
 		parent -- The parent to detach the object from.
 		</div>
 		<div>
-		Detaches the object from the parent and adds it back to the scene without moving in worldspace.
+		Detaches the object from the parent and adds it back to the scene without moving in worldspace. Beware that to do this the matrixWorld needs to be updated, this can be done by calling the updateMatrixWorld method on the parent object.
 		</div>
 
 		<h2>Source</h2>

粤ICP备19079148号