2
0
Эх сурвалжийг харах

Merge pull request #33432 from Chaosus/raycast_tutorial

Added link to raycasting tutorial to RayCast/RayCast2D
Rémi Verschelde 5 жил өмнө
parent
commit
724be04ec4

+ 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.
 		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>
 	</description>
 	<tutorials>
 	<tutorials>
+		<link>https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
 	</tutorials>
 	</tutorials>
 	<methods>
 	<methods>
 		<method name="add_exception">
 		<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.
 		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>
 	</description>
 	<tutorials>
 	<tutorials>
+		<link>https://docs.godotengine.org/en/latest/tutorials/physics/ray-casting.html</link>
 	</tutorials>
 	</tutorials>
 	<methods>
 	<methods>
 		<method name="add_exception">
 		<method name="add_exception">