Ai eyes looking all around instead of the player

Original Discord Post by iranpower | 2024-09-03 10:27:09

Hello, i have assigned the animation of the head and the body for a metahuman, is there a way to make the ai just keep looking at the player ? ( eyes and head )

Reply by mighty_brute | 2024-09-03 10:43:38

Hello <@222597391474360320>, you can use the SetMainCharacter function, which is located in the Environment variable within the ChatbotComponent. I’ve also attached a screenshot for your reference.

Images:

Reply by iranpower | 2024-09-03 10:57:38

Images:

Reply by iranpower | 2024-09-03 10:58:14

but still the head moves and looks around after awhile, i want it like keeps staring at the player at all time

Reply by k3kalinix | 2024-09-04 07:32:33

<@1216254232957685765>

Reply by mighty_brute | 2024-09-04 08:38:06

Could you please share a short clip demonstrating the issue you’re facing?

Reply by iranpower | 2024-09-04 10:23:06

sure

Reply by iranpower | 2024-09-04 10:28:32

soo after i stop talking to her, she looks around, is there a way i keep her staring at the camera all the time ?

Attachments:

Reply by k3kalinix | 2024-09-04 13:57:05

<@365628745886859267>

Reply by freezfast | 2024-09-04 15:45:05

Hi <@222597391474360320> thank you for reaching out, there’re a few things to try:

  1. Easiest way would be to increase the lose focus time by clicking the character on the scene and changing its value from the details panel (check image)
  2. Regarding the occasional look aways she would do while talking, I would recommend you check out minute 6:50 of this video

We have also removed the look aways entirely from the latest plugin version that was updated on the marketplace a few days ago

Images:


Embedded Content:
Add Custom Animations to your AI Metahuman | Convai Unreal Engine T…
In this tutorial, we show you how you can add custom animations to your Convai-powered AI Metahuman avatars in Unreal Engine. We also dive into some tips on customizing the animation blueprint for your characters, for simple animations like talking, interacting and staring at the user. These Convai-powered Metahumans can perform simple actions l…
Link: https://www.youtube.com/watch?v=g9xEZApFKUc&start=407

Reply by iranpower | 2024-09-04 15:47:06

Alright will have a look, thankyou <@365628745886859267>

Reply by iranpower | 2024-09-05 06:02:05

the video defintly fixed it, removed the nodes as it said, thanks

Reply by iranpower | 2024-09-05 06:37:42

<:OK:1147889183776587778>

Reply by k3kalinix | 2024-09-05 06:53:07

<@222597391474360320> ,
If you have any other questions, please do not hesitate to ask.

We would be very grateful if you could leave a comment on our store pages with your company name or the name of your project. We value your feedback and comments as they help us improve our services and products.
https://www.unrealengine.com/marketplace/en-US/product/convai/reviews

Embedded Content:
AI for NPC, MetaHuman - Dialog, actions and general intelligence - …
Convai powers NPCs with human-like intelligence.
Link: https://www.unrealengine.com/marketplace/en-US/product/convai/reviews

Reply by iranpower | 2024-09-05 06:54:05

will do it right away

This conversation happened on the Convai Discord Server, so this post will be closed.