Add rotation to the input rotation of a PlayerController

Hi! Thanks for the information.
I have a pawn attached to a “path” actor, i’m not using a character.
I need to make that when the actor rotates, it rotates the pawn so the camera always keep facing forward the direction of the travel.
I came up with this, but when the “base” actor rotates, the pawn starts spin out of control. Here i’m only using the yaw, i would need the same system for the the pitch and roll too.
Thanks!