Преглед изворни кода

Merge pull request #6433 from gero3/patch-38

Update SceneUtils.html
Ricardo Cabello пре 10 година
родитељ
комит
8d955f93a0
1 измењених фајлова са 2 додато и 2 уклоњено
  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号