I’m working on a 2.5D gamemode. However, I have an issue that needs to be resolved. Here’s a demonstration of what i’m trying to do:
On this image, there are two important things. One: The green line. This is mean to make 2D 3D (hence 2.5D), so the green line is touching the ground. The red circle, is what I want to select. I want to get the cursor’s position, and translate it to world coordinates, for example, I will check the world coordinates of the cursor, and compare it with and object, and if they both match, it will select the object. How would I do this? Thanks.