Skip to content

World Position

Leopold A-C edited this page Feb 4, 2021 · 6 revisions

Category: Scene > Camera

Description

Gives you the world position of the point in front of the camera at the selected coordinates.

Note: (0, 0) is the top left corner, (1, 1) is the bottom right corner.


Inputs

Camera

  • The camera from which to calculate. Can be used together with Active Camera.

Screen X

  • The X position on the screen from 0 to 1.

Screen Y

  • The Y position on the screen from 0 to 1.

Depth

  • The max distance at which a point can be detected.

Outputs

World Position

  • The world position of the detected point as a Vector(x, y, z).
Clone this wiki locally