Chat always on

Original Discord Post by josegarciacordoba | 2024-10-09 19:39:31

Hi, I need the Chat and Proximity Detection to always be active.

Sometimes it activates and other times it doesn’t. And I want it to always be active, whether the Avatar is near the player or far away.

Thanks.

Reply by k3kalinix | 2024-10-09 19:41:29

Hello <@992368851234869308> :wave:t2:

Reply by k3kalinix | 2024-10-09 19:43:33

Images:

Reply by k3kalinix | 2024-10-09 19:45:28

From the ConvaiNPCManager component you can increase the Ray Length and the Vision Cone Angle.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-10-09 19:43:33

Reply by josegarciacordoba | 2024-10-09 19:55:35

It must be another problem. Because I have changed those parameters and sometimes it works and other times it doesn’t. And without touching anything.

(I think it’s because I have other objects in the scene with collisions, and maybe the ray collides with one.)

By the way, I must have another version of that Script, in my version the field to set the “Main Camera” doesn’t appear, what exactly does that value do?

Reply by k3kalinix | 2024-10-09 22:24:21

Something blocks the ray,

You can use Layer Masks or you need to edit the ConvaiNPCManager.cs file for your case.

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