Player to Character Interaction

So everytime I start my application in untiy, I have to go near the AI Character to start conversation with, Is there any way I can make it to interact with the player directly without getting closer or use the raycast method?
Any help in this will be highly appreciated as I have to make a static camera system and use the character as AI hologram character. So I need it to start conversation as soon as the application starts,

Also I need help for the same if I have two character that I have to enable and disable at different time. Let me explain the scenario, i have to enable a male and female character time to time and I want that when ever any one of them is enabled, then it should automatically be interactable to the user. Can you help me with this, I hope I have explained my case well.

Hello @xphere_apps,

Thanks for your question!

To make the character interactable without needing to get closer:

  • Navigate to your Convai Player Character in the scene.
  • In its child Camera object, locate the ConvaiNPCManager component.
  • Increase the values for Ray Length and Vision Cone Angle to ensure the NPC is detected from a further distance or broader field of view.

Alternatively, if you’re working with multiple NPCs and want to toggle between them:

  • Use the SetActiveConvaiNPC() method available in the ConvaiNPCManager.cs script.
  • This allows you to manually activate the NPC you want to interact with as soon as it’s enabled.

Thank you for the prompt response.
There isn’t any way we can interact without the RayLength? Without using the camera method?

You need to edit ConvaiNPCManager.cs. In short, remove LateUpdate and make the necessary changes. This is a customization up to you.