Character’s Eyes Not Looking at the Camera

Hi, I’m having an issue that I haven’t been able to resolve.

I’m currently using Unreal Engine 5.6. Over the past week, I’ve been trying to get my character’s eyes to look directly at the camera, as if they’re talking to the player.

However, even with “Look Exactly At Camera” enabled, the character’s eyes still seem to drift or wander instead of staying focused.

Is there a way to fix this issue?

Thank you.

I am also facing the same problem, also where did you get these eye settings, I mean on which component?

You need to start the conversation first. Once the conversation starts, the eyes should look toward the camera.

This is how the character is mid conversation, as you can see it’s not looking at the camera, it’s vision is in upwards direction

We are currently working on a new update for the Animation Blueprint. This update should also resolve the issue you’re experiencing.

We expect to release this update next week.

Hi any updates on this??

Here are two quick fixes you can try:

  1. Increase the Lose Focus Time to a larger value. You can find this setting on the BP Convai Chatbot Component.

  2. Enable Set Player as Main Character by ticking the checkbox.

This will help rule out the possibility that the character is losing focus on the player.

Also, one question: does the character look directly at the player when the conversation starts?

Nope, the character does not directly look towards the player/camera it sometimes does while it’s talking, also I habe another small issue, when I disabled the push to talk on the BP_ConvaiPlayerComponent, it still hears the handsfree conversation and responds (I tried enabling and disabling the option wasn’t sure what was the correct setting though) but still for both options it listens to player mic and responds. I want to use the press to talk functionality

Did you try these?

To elaborate further on points 1 and 2:

For point 1, you can find the Lose Focus Time parameter in the Details panel of the BP Convai Chatbot Component.

For point 2, you need to add this BP to the Tick Event of your character.

Point 2 is not exactly necessary, but this is to be without doubt that the character has the player as the look at target

Yes, tried the first option, changed the focus time value to 60-80 but still while speaking the character seems to be looking elsewhere as shown in the screenshot, he looks at camera for a split second or so and then starts looking elsewhere.

Would it be possible to try the second point as well?

And could you check if there’s not any other camera in the scene, I am suspecting that this other camera is taking the priority over your active camera.

Additionally, under your Convai_MetaHuman_FaceAnim, find the GetActorInFocus macro and update it as shown in the screenshot below. This will gurantee that the character is looking at the active camera, even if the camera actor is different from your real player blueprint.

The second point is yielding better results, so I think we can proceed with that approach for now. Regarding the screenshot you shared, since it’s for the function rather than the macro, please do share if anything needs to be adjusted there, as it could be useful down the line. Also, thank you for the updates much appreciated!

That’s great to hear! and yes I meant the GetLookAtLocation function not the GetActorInFocus macro