Okay, so I feel like I'm overthinking this issue and overlooking a simple solution, so wanted to ask before I commit to writing any unnecessary code.
How do I limit the number of degrees an object can rotate, per rotation? Effectively, how do I limit the number of angles an object can face and move in? I'm trying to use the Pathfinding behavior with a sprite that's only supposed to be able to face 16 directions, but while making the animations correspond to the general angle was simple enough, movement can look a little odd since Pathfinding uses a full 360 degrees of rotation. How can I limit it to 22.5 degree increments so as to make the movement and animation flow together more smoothly?