Hello,
i´ve been looking around for quite some time now and all i found were scripts that worked odd for me. I have a top down scene where my player (sprite) moves around. I want him alwys to face the mouse coursor. I tried several scripts from around the forums but most of them rotated my sprite in a way that it either got invisible (90 degree to the camera) or, as my last attempt, facing down slowly, the father away the mouse moves.
This is my current script:
Some methods and classes works with 3D only, not 2D.
So far my 2D spaceRocks is going well, but to make the enemies face the player… is a hell.
Thanks for the solution!