Search the Community
Showing results for tags 'MousePosition'.
Found 1 result
For my towerdefense game I want to allow the player to place a turret into the 3d world with the mouse. I dont understand how to send a raycast from the camera when you click somewhere in the 3d world. For example if i want to place a block on the terrain by left clicking inside the game. Also I dont know how raycasting in general works . a link for that should be enough. thanks Friedrich