- Edited
I'm not sure how to phrase this question but here goes. What's the best way to make directional sprites for a Doom clone/2.5D shooter/whatever? I'm using the animation editor and not animation coordinates as in Miziziz's tutorials, as they didn't work correctly when I tried it - they rotated correctly, but the animation wouldn't play. I'm assuming that I need to get the dot product for z and y vectors, and convert (for lack of a better word) them into a string to determine which animation to play. How do I go about this? Am I completely missing something?
If this is in the wrong place, I apologize. My code since it's functionally identical to Miziziz's as of right now (except for the sprite coordinate part, obviously). His directional sprite code is here: https://pastebin.com/NxwySFsD (enemy) and https://pastebin.com/gDHUmJGq (camera).