How to lock up and down and camera movement for Beat Em Up style?

Oh, this should not be used for movement. This only tells you the direction relative to where the player is facing. Normally you’d use it to calculate the angle. I thought that’s what you were asking here:

figure out some math to check if player is looking either east or west

The West East and so on would depend how things are set up. In case of the template, it’d look like this:

Not sure if you need it, but you asked.


Dot is visualised here:

Perhaps that’d clarify it a bit.