Trying to set the animation of an object based on the direction that it is moving in the bullet direction.
project: dropbox.com/scl/fi/95wia4pjcjpkc018w9e1g/demo.c3p
Image of current function that is not working:
Expected behavior: angles -45 to 45 would set it to the "up" animation, 45 to 135 "right". etc. etc.
Current behavior: Is setting to the incorrect frames on the incorrect angles, as well as just flat out ignoring the idea of the left direction.