I am brand new to unity.
I am trying to create a simple application which will allow me to place objects in the world.
Right now my scene is totally empty, no planes no objects etc. What I would like to do is cast a ray from my camera and have it tell me the mouse position in the 3D world when I hit Y=0, so basically just the X and Z co-ords in the scene (so that I can place an object there).
I imagine I could place a plane the size of the scene and have a ray collide with it? (Or have a plane the size of the viewport follow my camera and collide with that) but I’m hoping to avoid objects that need to be collide with if possible.
Thanks.