Im using ScreenPointToRay to get a hit on a gameObject.
Now I want to move and drag it around the world, but i dont want to create a floor geometry, just to catch Physic.RayCast.
All I need is the point, where Camera.main.ScreenPointToRay hits the point Vector3 (x,0,z) and return x and z!
Hope someone can help.
Thank you very much, exactly what I was looking for!!
– Ravart