Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

New tutorial on how to get mouse or touch input position in unity. Simple yet vital for many games.

Files

Previews only

Unity 2d mouse / touch input position - tutorial

Getting input position from mouse click of touch isn't as easy as you might think. Watch this tutorial if you struggle with this task. It is mainly for 2d but in 3d the raycast method also works if only you switch Physics2D for Physics module and use 3d colliders. Project files: https://github.com/SunnyValleyStudio/unity_mouse_touch_input_position_tutorial https://gridbugs.org/wave-function-collapse/ Assets - https://www.kenney.nl/assets/ My itch.io if you'd like to see what I have done so far: https://svstudio.itch.io/ Patreon: https://www.patreon.com/sunnyvalleystudio Twitter SunnyValleyStudio (@SunnyVStudio): https://twitter.com/SunnyVStudio?s=09

Comments

No comments found for this post.