I want to set angle based on gameobject velocity for 2d game. At present in game, object moves in correct direction but with wrong angle. If I can able to set angle from its velocity then my problem is solved but I can’t able to find solution for that.
I already used google for this purpose but didn’t find any useful content. Please give me some suggestion in this.