瀏覽代碼

Added link to raycasting tutorial to RayCast/RayCast2D

Yuri Roubinsky 5 年之前
父節點
當前提交
4c4172ec92
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      doc/classes/RayCast.xml
  2. 1 0
      doc/classes/RayCast2D.xml

+ 1 - 0
doc/classes/RayCast.xml

@@ -11,6 +11,7 @@
 		RayCast calculates intersection every physics frame (see [Node]), and the result is cached so it can be used later until the next frame. If multiple queries are required between physics frames (or during the same frame), use [method force_raycast_update] after adjusting the raycast.
 	</description>
 	<tutorials>
+		<link>https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
 	</tutorials>
 	<methods>
 		<method name="add_exception">

+ 1 - 0
doc/classes/RayCast2D.xml

@@ -11,6 +11,7 @@
 		RayCast2D calculates intersection every physics frame (see [Node]), and the result is cached so it can be used later until the next frame. If multiple queries are required between physics frames (or during the same frame) use [method force_raycast_update] after adjusting the raycast.
 	</description>
 	<tutorials>
+		<link>https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
 	</tutorials>
 	<methods>
 		<method name="add_exception">