Rotate an object towards the mouse position [2D]
In this article I'll briefly explain how you can rotate an object, using Unity, in order for it to "look" at the mouse position. TL;DR Here's the code snippet which…
In this article I'll briefly explain how you can rotate an object, using Unity, in order for it to "look" at the mouse position. TL;DR Here's the code snippet which…