Bläddra i källkod

Update raycast.md

Björn Ritzl 6 år sedan
förälder
incheckning
45ef402ea8
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      examples/physics/raycast/raycast.md

+ 2 - 1
examples/physics/raycast/raycast.md

@@ -1,6 +1,7 @@
 ---
 title: Raycast
 brief: This example shows how to use physics raycasts to detect collisions along a straight line from a start point to an end point.
+scripts: raycast.script
 ---
 
 ![raycast](raycast.png)
@@ -12,7 +13,7 @@ bee
   - A *Sprite* component with the bee image.
   - A script that performs raycasts from the game object position to the position of mouse/touch input.
 
-block
+stone
 : The square stone block. Contains:
   - A *Sprite* component with the stone block image.
   - A *Collision object* component with a group set to `stone`.