The Screen to world space node produces an incorrect output.
Place a camera looking straight down at (0,0,10)
Create a nodetree with a mouse coords node and feed the coords output into the input of a Screen to world space node, probe the output of both nodes and assign the nodetree to an active trait.
Run and check the output of the screen to world space node for different mouse positions, the values are much higher than the camera plane's width and height.
I expected the X value of the output to range from 0 to the with of the camera plane, and for Y from 0 to it's height.
Thank you for contributing to Armory!
The Screen to world space node produces an incorrect output.
Place a camera looking straight down at (0,0,10) Create a nodetree with a mouse coords node and feed the coords output into the input of a Screen to world space node, probe the output of both nodes and assign the nodetree to an active trait. Run and check the output of the screen to world space node for different mouse positions, the values are much higher than the camera plane's width and height.
I expected the X value of the output to range from 0 to the with of the camera plane, and for Y from 0 to it's height.
Blender:2.81 Armory:2019.10.0 OS:Windows 7 64 bit
ScreenToWorldTest.zip