- Home /
Question by
ThatonePanMan · Feb 25, 2020 at 09:18 PM ·
mouselook
Unity2D I'm trying to get an object to rotate to always look at the mouse
I'm trying to get an object to rotate to look towards the mouse in a 2D platformer
I don't have any code for it at all, since I don't really know how.
Comment
Have you tried looking for your question in this forum? There's probably 100 variations of this question already, maybe this one is close to what you are looking for? https://answers.unity.com/questions/10615/rotate-objectweapon-towards-mouse-cursor-2d.html