Browse Source

[ci skip] update Raycast documentation

clarification that set_cast_to needs LOCAL point
and get_collision_point gives GLOBAL point

(cherry picked from commit 1445553fea268104bf7012785536c4e7c9c6b1e6)
Hubert Jarosz 9 years ago
parent
commit
d55304c56f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      doc/base/classes.xml

+ 2 - 0
doc/base/classes.xml

@@ -30627,6 +30627,7 @@
 			<return type="Vector3">
 			<return type="Vector3">
 			</return>
 			</return>
 			<description>
 			<description>
+				Returns collision point. This point is in [b]global[/b] coordinate system.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_layer_mask" qualifiers="const">
 		<method name="get_layer_mask" qualifiers="const">
@@ -30669,6 +30670,7 @@
 			<argument index="0" name="local_point" type="Vector3">
 			<argument index="0" name="local_point" type="Vector3">
 			</argument>
 			</argument>
 			<description>
 			<description>
+				Sets to which point ray should be casted. This point is in [b]local[/b] coordinate system.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="set_enabled">
 		<method name="set_enabled">