Move to VR Camera with Ai

Hello everyone,

 I am working with ai in VR, and I am setting a pawn to move to a VR player using a behavior tree. But, the pawn will move to the origin of the player, not the player's camera which moves depending on where the player is in real life. How would I make the pawn move to the player's camera rather than the actor's origin?

You can reference the camera’s location vector. Does the MoveTo function not accept Vector for destination?

Yes but the player location will change before the pawn gets to the vector.

You can easily do this with blueprint node “AI MoveTo”. It also lets you do certain things, like if it fail to reach the actor go on patrol again, or if it does reach the actor attack it or whatever you want.