animation bluprint rotation problem

Hi everyone,

I did set up a 2D blendspace for a fish AI character animation. everything works fine in the blendspace.

When I go into the eventgraph of my state machine, I have velocity and rotation as variables. Velocity works fine, but in the game I can’t manage to get the rotation value of my character, so that the final animation don’t behave as I want (eg turn left and turn right animation dont work when character turns left and right).

Can please someone help me with this? is quite important! thank you so mutch in advance!

Maybe calculateDirection node instead of deltaRotation?