Trying to rotate a pawn towards the camera for some reason turns the pawn away from the camera

I have these blueprint nodes in my anim blueprint


I want to rotate the pawn on the Z axis towards the cameras location, but doing so makes the pawn rotate at an offshoot towards the camera and never the cameras actual location. I cant input the whole vector into there and I tried using the subtract and addition nodes but nothing is working. Any help?

Nevermind, I fixed this by setting it’s rotation to the cameras Z rotation pz and then subtracting it by 180.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.