Ok, I have run into a rather annoying problem.
I have never been very good at raycasting, especially with mouse clicks.
I am trying to return the coordinates of the collision with a mouse raycast to a collider.
I have everything after that, but I am struggling to get the coordinates to return.
Could someone please point me in the right direction, or give me an example?
Many thanks
js only