hi! im currently beginning a topdown 2d game, and ive got the character, tilemap, etc. down and am moving on to the NPCs and animals. i started with a chicken and a cow, they have their own scripts so they roam around. what i cant seem to figure out is how to get them to face only one of the 4 cardinal directions. instead of doing this, theyll turn any which way, resulting in them being upside down or sideways. ive been trying to crack this for hours with no luck, so any help is appreciated. picture of what they look like not facing the right direction attached for reference:
Hey there @Aiikxo! Welcome to the community! How are you moving your characters? If you’re using Pawn movement or character movement, there is a boolean named Orient Rotation to Movement
. First you’d need to disable that. Then you can follow this video at the animation portion:
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.