How to activate the spatial trigger

Original Discord Post by manuelavanzi | 2024-08-16 14:14:07

i created a narrative design that should start with a trigger , i want my avatar to start talking when the user approaches him at the beginning but i don’t know how to do it on unity …

Images:


Attachments:

Reply by k3kalinix | 2024-08-16 14:39:49

Hello <@905754050677583892>

Reply by manuelavanzi | 2024-08-16 14:43:09

hi

Reply by manuelavanzi | 2024-08-16 14:43:16

Images:

Reply by k3kalinix | 2024-08-16 14:50:00

If you’re available, we can have a voice chat.

Reply by manuelavanzi | 2024-08-16 14:51:04

if it is possible for you to answer me here

Reply by k3kalinix | 2024-08-16 14:57:34

<@905754050677583892>,

Reply by k3kalinix | 2024-08-16 14:57:39

I will be here after 10 min

Reply by k3kalinix | 2024-08-16 14:57:41

Is it okey?

Reply by manuelavanzi | 2024-08-16 14:57:47

sure

Reply by k3kalinix | 2024-08-16 15:09:11

Hey <@905754050677583892>,

Reply by k3kalinix | 2024-08-16 15:10:13

Do you want to implement Narrative Design in WebGL SDK?

Reply by manuelavanzi | 2024-08-16 15:10:24

yes

Reply by k3kalinix | 2024-08-16 15:13:55

WebGL SDK does not support Narrative Design feature.
We will add it in the next update.

Reply by manuelavanzi | 2024-08-16 15:14:11

can you tell me where in the documentation it is written that narrative desing is not compatible for unity WebGL ?

Reply by manuelavanzi | 2024-08-16 15:17:02

you know I lost 3 hours for nothing , I want to see if I actually could have saved them

Reply by k3kalinix | 2024-08-16 15:36:24

I understand you completely.

Unfortunately, the WebGL version is a completely different SDK from the Core SDK.

Therefore, it works independently of the Core SDK.
Currently, Narrative Design and Actions are only available in the Core SDK.

Reply by manuelavanzi | 2024-08-16 16:56:28

ok , so do you think there is any possibility to have the avatar speak ,at the time my user approaches , or have it speak first without the narrative design ? what could I do with this component in WebGL ? Convai interactables Data

Reply by k3kalinix | 2024-08-16 17:25:53

Hmm yes,

Reply by k3kalinix | 2024-08-16 17:27:51

You can send an empty text in the Awake or Start Method.

Welcome Trigger will work.