Raycast: Difference between revisions
link to Object
(→Examples: Fixed spelling mistake) |
(link to Object) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 12: | Line 12: | ||
Traces a line between two points and outputs the following correspondingly: | Traces a line between two points and outputs the following correspondingly: | ||
* [[Truth (True & False)|True]] if it hits an object. | * [[Truth (True & False)|True]] if it hits an [[object]]. | ||
* The point where the object is detected, or <code>0, 0, 0</code> otherwise. | * The point where the object is detected, or <code>0, 0, 0</code> otherwise. | ||
* The object that was hit, or <code>None</code> if none is detected or the ground is hit. | * The object that was hit, or <code>None</code> if none is detected or the ground is hit. |