Hey @tavukgogsu!
Have you taken a look at the Third person character template? It has a similar set up to what you already have. You will need to reference the camera, get the camera z rotation, and plug it into the z (yaw).
I hope the above is the solution you need.