-
Notifications
You must be signed in to change notification settings - Fork 18
World Position
Leopold A-C edited this page Feb 4, 2021
·
6 revisions
Category: Scene > Camera
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.
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.
World Position
- The world position of the detected point as a
Vector(x, y, z)
.
Documentation for Logic Nodes version 0.9.1 on UPBGE 0.3.0 Alpha