- Home /
How to Confronts player to facing right up down or left(Not diagonal)
what i want
How can i use Mouse to Confronts player to face left right up or down. So if the Mouse is in the left position(angle) , the player face left. I want if my mouse is in the diagonal position(angle), the player don't facing to diagonal side, i only want player facing to left right up or down but not facing diagonally(no effects when the mouse is in diagonal position ) PLEASE ANSWER WITH C# CODE
PLEASE ANSWER WITH C# CODE
No, you provide the C# code, the community is here to help you, not to do the job for you.
Your answer
Follow this Question
Related Questions
Problem with rotation script. 3 Answers
Detect if player is facing an Object 1 Answer
Top down movement and rotation 2 Answers
Shooting in direction of mouse cursor 2d 5 Answers
2D Mouse and Right analog as Direction for the flashlight. 2 Answers