Controlling the camera on an AI pawn

anonymous_user_fc8f7f86
Sun, 20 Mar 2016 17:46:00 +0000
AI

Hey!

I’m using the third person example where the camera is focusing the pawn and the camera is controllable with the mouse. Now I want to unpossess the pawn, so that the AIController can do a specific job (run to a point for example) but while he is doing this, I want to continue controlling the camera like before.

Currently, I’m telling the Player Controller to “Set View Target with Blend” on the pawn as soon as I unpossess the pawn, but then I cannot control the camera anymore; it just stays behind my pawn while he is doing his job.

Do you have any solutions, how I can control the camera like before?

Cheers!

4 posts - 4 participants