Angle wrapping bug

Hi everyone,

I have been trying to rotate a skeletal mesh bone by using an Anim graph for which I only feed the yaw values(these are normalized), but sometimes I get 360 degree flip to get to that point when it tries to move from 180 to -180 instead of going same direction.

Please someone tell me what I am doing wrong? I am new to unreal. Let me know if you need any additional information.

My quote from other thread.

Thanks

PS: Sorry for my english as I am not native speaker.

Can you show us how are you feeding your angle to the bone?

Yes, I am just calculatig the Yaw and pitch from a chracter, and then feeding these values to a rotator that sets these values to the skeletal mesh bone. I have attached the screen of my anim graph, please take a look and let me know.

Thanks

PS: For some reason, I could not see this thread before so I created another one at animation section. Here is that thread also where I have added some info : Anim graph lerp issue - Character & Animation - Epic Developer Community Forums

I have attached screen you have asked in above post. Please take a look and let me know.

Thanks