Hiya. I’m working on learning how to make a 2.5D platformer, and I want to play certain animations based on the direction the player is facing (since certain animations may be obstructed from view based on said directions).
So like, one animation when facing right, then the the mirrored version when facing left. I assumed I could use a branch node to tell it to play an Animation Montage if facing Left was true, then play the mirrored version on a false result.
I just can’t wrap my head around getting the direction on a 2D plane. Is that World Rotation value? Local rotation value? Forward Vector based on the world direction? I’ve tried finding answers everywhere.