I need help with character rotation in UE5.1.

If you’re using a 2D blendspace with standard speed and direction axes driving it, the easiest way to animate it is with some foot shuffling turn in place animations to the left and right of speed 0 postition of the blendspace. Then in anim bp, when character’s velocity = 0, feed the yaw of the rotation delta between the current and previous frame’s rotation to the direction.

Obviously not the most efficient way to do it, but the relevant part of event graph in my anim bp looks like this:

The divisor leading into the yaw delta set node is coming from delta time on the anim update event.

Probably better to set the yaw delta on the character in code, and select it for direction in anim graph when speed is near 0. Charcter movement comp has a fumction to get last update rot, but I could never get it to work right inside anim bp event graph lol.