Thank you! I was planning to introduce mouse picking in near future. Very timely and helpful!
@nickbell11983 жыл бұрын
Thanks for the videos NED!! Really helpful.
@NedMakesGames3 жыл бұрын
Thank you for watching! Glad to help out!
@betoassumpcao3 жыл бұрын
awesome video! :D
@quadriproduction3 жыл бұрын
Thank you Ned ! awesome
@maxtuhim72052 жыл бұрын
This is a great video, thanks ))
@NedMakesGames2 жыл бұрын
Thank you for watching!
@igormelo253 жыл бұрын
thank you!! You really save me!
@NedMakesGames3 жыл бұрын
I'm glad to help out! Thanks for watching!
@BabyGlass2 жыл бұрын
the mouse input is very close to the center of the camera when using perspective, how do i fix that? (works fine in orthographic)
@NedMakesGames2 жыл бұрын
Hi! Try increasing the z coordinate you send to CameraToScreenPoint.
@hibiscusbear3 жыл бұрын
great job!!! :D
@tomlapomme47453 жыл бұрын
Thank you, that was very instructive ! I got a question about types you used. What's the difference between a float3 and a vector3 of float ? Is that change something on optimization or is that just a preference ?
@NedMakesGames3 жыл бұрын
Hi! I'm glad to help, thanks for watching! Float3 is a new structure added in the Unity.Mathematics package, included within URP and more. I prefer it since it behaves more like vectors in shader code, but it's basically the same as Vector3. Thankfully, C# is smart enough to automatically cast between float3 and Vector3, so you can use them interchangeably.
@theugobosschannel84663 жыл бұрын
Ned is it possible to have multiple mouse pointers? There are Windows apps that allow you to have multiple mouse connected to your PC with multiple mouse pointers on the screen. However, can Unity read both mouse pointers?
@NedMakesGames3 жыл бұрын
Hi! I don't think this is possible out of the box, unfortunately. I thought the new input system would for sure, but not according to this page: docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/Mouse.html Some people have gotten multiple mice working by reading the raw mouse input stream from Windows. This thread talks about it: forum.unity.com/threads/small-mono-csharp-script-based-driver-for-multiple-mice-support-in-unity.266174/
@jasontravail82243 жыл бұрын
you dont explain code at all -_- wtf ?
@NedMakesGames3 жыл бұрын
Hi! Sorry, are you having trouble with any part in particular? This tutorial expects you to have some experience with C# and Unity. Maybe these videos can help: kzbin.info/www/bejne/fZm0lZ9_e96fh5o or kzbin.info/www/bejne/b6Wwp62opqeIhpo