Hi,I want to add the character’s transition from Idle to Starting Move state machine in the thread-safe function in the UE5.3 animation blueprint (including animation judgment of turning to left\right\returning from right\returning from left)
However, because when entering the Starting Move state machine, the difference between the last ACTOR ROTATION and this ACTOR ROTATION cannot be used to determine whether the character is rotating left\right (when leaving the ldle and entering the Starting Move state machine), the character does not start to rotate. The two frames have the same direction, and the difference is 0)
The acceleration direction and speed direction input by the player can obtain the left\right 90-degree turning direction, but when turning 180 degrees, the direction changes from 0° to 180°. CharacterMovementComponent OrientRotationToMotion sometimes rotates to the left and sometimes to the right.
How does OrientRotationToMotion calculate the rotation to the right\left direction when turning from 0 to 180?