Unity Chat Trigger Too Small

Hello! I have my Convai NPC in my Unity scene and working fairly well except for one issue. As my player approaches the NPC, it triggers the chat box to appear only within a very small spot, and if i step one step closer to the npc or further away, it disappears again. If I increase the NPC’s collider size, that spot moves further out from the NPC, but still is just as small. It’s almost like the trigger is “hollow” or that the player only registers when intersecting with the capsule collider, but not within its boundary.

When checking console logs, it says [debug][character]: Player left the Convai NPC when I’ve stepped closer to the npc. But when using a debugging script chat gpt helped write, it says I am still within the trigger zone when closer to the NPC.

Could anyone help me figure out what I may be doing wrong or what settings might need to be adjusted? Thank you so much! This is my first Unity project ever so I am very inexperienced :slight_smile:

Hello,

Welcome to the Convai Developer Forum!

You can make the interaction area more forgiving by increasing the vision parameters:

  1. In your scene, select Convai Essentials → Convai Player Character → Camera.

  2. In the Camera, open the ConvaiNPCManager component.

  3. Increase Ray Length.

  4. Increase Vision Cone Angle.

Ahh, thank you! That helped! That made it so I was able to startv the chat further away from the NPC but it still cut out when I was closer- I needed to also decrease the capsule collider size a little as well (in case anyone else runs into this issue). Thank you so much for the prompt help!