r/unity_tutorials • • Apr 28 '21

Here's a quick video about Unity's mouse pointer handling and how to use it to interact with the world. Tutorial in the comments!

60 Upvotes

1 comment sorted by

3

u/NedMakesGames Apr 28 '21

Hi! I made a short video about the mouse pointer in Unity and how to get it's value in screen, viewport and world space. I go into the weird z-component of ScreenToWorkPosition's argument and two simple ways to implement mouse picking. Watch here if you'd like to learn more: https://youtu.be/J9oK_lIUV74

Thanks!