# Player to Character Interaction

**URL:** <https://forum.convai.com/t/player-to-character-interaction/4019>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [May 20, 2025, 10:21am UTC](https://forum.convai.com/t/player-to-character-interaction/4019 "2025-05-20T10:21:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xphere\_apps](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/xphere_apps/32/2874_2.png) [@xphere\_apps](https://forum.convai.com/u/xphere_apps)\
**Post date:** [May 20, 2025, 10:21am UTC](https://forum.convai.com/t/player-to-character-interaction/4019/1 "2025-05-20T10:21:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [May 20, 2025, 10:38am UTC](https://forum.convai.com/t/player-to-character-interaction/4019/2 "2025-05-20T10:38:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![xphere\_apps](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/xphere_apps/32/2874_2.png) [@xphere\_apps](https://forum.convai.com/u/xphere_apps)\
**Post date:** [May 20, 2025, 10:42am UTC](https://forum.convai.com/t/player-to-character-interaction/4019/3 "2025-05-20T10:42:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [May 20, 2025, 10:50am UTC](https://forum.convai.com/t/player-to-character-interaction/4019/4 "2025-05-20T10:50:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [May 28, 2025, 10:01pm UTC](https://forum.convai.com/t/player-to-character-interaction/4019/5 "2025-05-28T22:01:50Z")

</div>


