Player doesn't face the correct way in certain cases
Hi, I'm currently working on a 2D Top-down shooter and am facing a problem with my player movement. When I keep moving my player to the left he goes left, while doing so I can move the player up simultaneously so he goes to the top left corner while facing upwards. This works the same way for the top right corner and both bottom corners, in the bottom case the player also faces downwards. This is the blend tree I currently use, which doesn't allow me to do what I acutally want to.
I'd like for the player to be facing in the direction the user pressed last, say we keep moving upwards and than start going to the left aswell, the player is going to move in the correct direction, but keeps facing upwards, instead of to the left.
Apparently this blend tree doesnt do it. For the movement I'm using the Input.GetAxis way and to trigger the according animations I set the x and y value of my animation to the x and y of my Input. I'm happy to just get tipps and hints or some reading material, thanks in advance :)
Your answer
Follow this Question
Related Questions
2D - Flipping a sprite from a different position 0 Answers
Adding sprites to same layer as bone in 2D animation rig 1 Answer
Unity 2D bones un-binding after closing 1 Answer
[2D] Updating PSB I had previously rigged and animated BREAKS entire rig 0 Answers
Animated Tiles with using triggers (animating grass) 0 Answers