How to make block placing like in minecraft?
- Edited
darceyo A 2D on-screen position can be projected to an infinite number of 3D positions because a point on a screen represents an infinitely long ray in space, going "into screen". You need some limiting factors to determine where that 2D point should actually be projected in 3D space. Having only x and y mouse coordinates is not enough.