Browse Source

Docs: Improve Sprite.raycast().

Mugen87 6 years ago
parent
commit
10b9b142c0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/en/objects/Sprite.html

+ 2 - 2
docs/api/en/objects/Sprite.html

@@ -78,8 +78,8 @@ scene.add( sprite );
 
 		<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
 		<p>
-		Get intersections between a casted ray and this sprite.
-		[page:Raycaster.intersectObject] will call this method.
+		Get intersections between a casted ray and this sprite. [page:Raycaster.intersectObject]() will call this method.
+		Notice that you have to setup your raycaster with [page:Raycaster.setFromCamera]() when raycasting against sprites.
 		</p>