Screen To World: Difference between revisions

Small improvements
m (Add infobox, minor rewording and Related section)
(Small improvements)
Line 9: Line 9:
}}
}}


Given a screen coordinate, outputs the start and end points of a line going through that point (2 and 400 units away from the camera, respectively). That might sound weird, but usually you'll just wire those points into a [[Raycast]] to find the object the user tapped!
Given a screen coordinate, outputs the start and end points of a line going through that point (2 and 400 units away from the camera, respectively).
 
That might sound weird, but usually you'll just wire those points into a [[Raycast]] to find the object the user tapped, or [[Line vs Plane]] to find where on the ground the user tapped!


== Notes ==
== Notes ==
Line 20: Line 22:


* [[World To Screen]]
* [[World To Screen]]
* [[Screen Size]]


[[Category:Blocks]]
[[Category:Blocks]]