Hi,
I need a code that uses the mouse position on screen to get a point in worldspace, but I don’t know how to do that…
Any (very simple) idea?
Camera.ScreenPointToRay or Camera.ScreenToWorldPoint
Alternatively, you could use OnMouseOver() {} on some GameObject with a collider attached.
Thanks, albertzak