Increasing interaction distance

Original Discord Post by bubbles6517 | 2024-04-30 22:50:17

Hi I am trying to increase the distance between the player and the npc which makes it posible to interact.
There is a guide on the convai website about how to do this in Unreal but nothing about it in Unity.
:pray:

Reply by k3kalinix | 2024-04-30 22:51:51

Hello <@253262392266326016>

Reply by k3kalinix | 2024-04-30 22:52:02

Welcome to the Convai Community!

Reply by k3kalinix | 2024-04-30 22:52:09

It is pretty easy,

Reply by k3kalinix | 2024-04-30 22:52:17

Click on your Convai Player

Reply by k3kalinix | 2024-04-30 22:52:30

Then click on the camera,

Reply by k3kalinix | 2024-04-30 22:53:14

You will see NPCManager.cs

Reply by k3kalinix | 2024-04-30 22:53:31

There are angle and distance values for which you can edit these values.

Reply by bubbles6517 | 2024-04-30 23:04:20

omg thank you! The script is not attached to the camera but I was able to find it by searching for by the name you gave me (NPCManager)

Reply by k3kalinix | 2024-04-30 23:04:32

Awesome!

Reply by k3kalinix | 2024-04-30 23:04:45

Do you have any other questions?

Reply by bubbles6517 | 2024-04-30 23:11:36

I would like for the “chat log canvas” to be always on screen instead of located next to the npc. Do you know where I should look to achive this?

Reply by k3kalinix | 2024-04-30 23:12:52

Are you using VR?

Reply by bubbles6517 | 2024-04-30 23:24:13

Yes. I probly should have mentioned that from the start :sweat_smile:

Reply by k3kalinix | 2024-04-30 23:25:43

You have to change Canvas Render Mode

Reply by k3kalinix | 2024-04-30 23:26:10

But this won’t look good for VR experience.

Reply by k3kalinix | 2024-04-30 23:26:57

Embedded Content:
Link: Unity - Manual: Canvas

Reply by bubbles6517 | 2024-04-30 23:47:02

thanks a lot for the help. I will give it a try :+1:

Replying to bubbles6517’s Message

Reply by bubbles6517 | 2024-04-30 23:47:02
thanks a lot for the help. I will give it a try :+1:

Reply by k3kalinix | 2024-04-30 23:49:04

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.
Asset Store: NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI | Unity Asset Store

Embedded Content:
NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behav…
Get the NPC AI Engine - Dialog, actions, voice and lipsync - Convai package from Convai and speed up your game development process. Find this & other Behavior AI options on the Unity Asset Store.
Link: NPC AI Engine - Dialog, actions, voice and lipsync - Convai | Behavior AI | Unity Asset Store

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-04-30 22:52:30
Then click on the camera,

Reply by paul_48539 | 2024-05-30 12:22:55

Could you let me know where you can find the camera? I am trying to do the same thing.