Hi,
I want the user to be able to click anywhere within a quad and I want to store the clicked position as a vector 3. How do I achieve this? I am just learning how to use unity.
Thanks
Hi,
I want the user to be able to click anywhere within a quad and I want to store the clicked position as a vector 3. How do I achieve this? I am just learning how to use unity.
Thanks
when you click, cast a ray from the camera. From the resulting RaycastHit, get the point value.
The quad needs to have a collider which the ray will hit