Additional action when talk button pressed in VR

Original Discord Post by bubbles6517 | 2024-09-01 23:35:39

I am trying to add some feedback for the user in my VR Unity project.
I want to activate/deactivate a gameobject every time the “talk button”(a) is pressed on my VR hand controller(meta quest 2).
Where can I add something like this : uiStuff.GetComponent().ShowFeedback();

Any help would be much appreciated :slightly_smiling_face: :pray:

Reply by k3kalinix | 2024-09-02 09:53:50

Hello <@253262392266326016>,

Reply by k3kalinix | 2024-09-02 09:53:56

Which version of Convai are you using?

Reply by bubbles6517 | 2024-09-02 18:31:32

Hey <@1023671043287699568>.
I’m not sure how to check which version I have. I followed the instructional video on the Convai website that explains how to implement Convai for VR in Unity.

I did this about six months ago, so the instructions might have changed, but I think they’re still the same.

This is the last part I need to figure out to finish my Master’s degree project, and the deadline is very close. I would really appreciate any help! :slightly_smiling_face:

Reply by k3kalinix | 2024-09-02 18:33:04

<@253262392266326016>, please open the Package Manager and click Convai.

Reply by bubbles6517 | 2024-09-02 18:46:38

Images:

Reply by bubbles6517 | 2024-09-02 18:46:40

there does not seem to be a Convai package :thinking: but Convai works as it should in my project. I can talk to the npc’s and get responses as expected.

Reply by k3kalinix | 2024-09-02 18:47:47

select my asset instead of in project

Reply by bubbles6517 | 2024-09-02 18:58:17

Images:

Reply by bubbles6517 | 2024-09-02 18:58:19

sorry for being so difficult but it does not seem to be in there either. I did not download Convai through the Unity asset store.

Reply by bubbles6517 | 2024-09-02 18:58:28

Images:

Reply by bubbles6517 | 2024-09-02 18:58:30

But I do have a Convai folder in my assets folder.

Reply by k3kalinix | 2024-09-02 18:58:54

Are you available for voice chat?

Reply by bubbles6517 | 2024-09-02 18:59:49

yes if you got time that would be great

Reply by k3kalinix | 2024-09-02 18:59:59

Reply by bubbles6517 | 2024-09-02 19:01:53

just give me 2 min. I am on my desktop which does not have a mic. Gotta turn on my laptop

Reply by k3kalinix | 2024-09-02 19:02:21

You will need to share screen.

Reply by bubbles6517 | 2024-09-02 19:08:00

hmm can make a secound disc account so that I can share screen from my desktop and talk from the other on another device. Kinda cumbersome but I dont think it will be posible otherwise.
I have a pretty advanced external audio interface on my desktop which does not work with disc for some reason.

Reply by k3kalinix | 2024-09-02 19:08:28

ok

Reply by bubbles6517 | 2024-09-02 19:09:30

Thanks. Again sorry for being difficut. I am very greatful for your time.
I will be ready in about 5 minutes.