Question: how to have NPC walk besides the player

Original Discord Post by crycriesagain5113 | 2024-11-16 01:08:46

Hi <@1023671043287699568>, how to have NPC walk besides the player–when the player moves, NPC moves; when the player stops, NPC stops? I’m building mixed reality in Unity using Quest 3’s passthrough mode. Thank you.

Reply by k3kalinix | 2024-11-16 09:40:17

Hello <@1002933233677258792>,

It is up to you.
You have to create your own action.

Reply by crycriesagain5113 | 2024-11-16 15:37:27

<@1023671043287699568> do I do that through scripts or is there any components I can use?

Reply by k3kalinix | 2024-11-16 17:58:58

Embedded Content:
Adding Actions to your Character | Documentation
Follow these instructions to enable actions for your Convai-powered characters.
Link: Adding Actions to your Character | Documentation

Reply by crycriesagain5113 | 2024-11-16 19:24:30

Okay thank you. I have another question: I have a video in my scene, how to make a narrative design trigger become active when the video finishes playing?

Reply by crycriesagain5113 | 2024-11-17 03:35:27

<@1023671043287699568> If I want my NPC to walk like the NPC in this video https://www.youtube.com/watch?v=wmhoNXUhc1U, what and how should I add to my current animator?

Embedded Content:
AI-powered Onboarding Character for Digital Twin Environments | Co…
This Unity tutorial shows you how to add a Convai-powered Tour Guide character for your 3D virtual environments. Convai’s Narrative Design Feature lets creators add spatial anchors in the 3D environment which guides the 3D AI character to navigate the world while following step-by-step instructions. The character follows instruction prompts comb…
Link: https://www.youtube.com/watch?v=wmhoNXUhc1U

Reply by crycriesagain5113 | 2024-11-17 03:36:04

Images:

Reply by crycriesagain5113 | 2024-11-17 03:38:19

is it the same as how i connected Talk to Idle?

Replying to crycriesagain5113’s Message

Reply by crycriesagain5113 | 2024-11-17 03:35:27
<@1023671043287699568> If I want my NPC to walk like the NPC in this video https://www.youtube.com/watch?v=wmhoNXUhc1U, what and how should I add to my current animator?

Reply by k3kalinix | 2024-11-17 13:50:16

This depends entirely on your Action.

If you want to use the MoveTo action, you can check our Animator.

Reply by crycriesagain5113 | 2024-11-17 14:25:49

but i do not see a tutorial starter content and unityfactoryscene in my convai folder. Do you have access to Christina Smith’s animator? I want to do exactly what the above video tutorial does of moving the NPC

Reply by crycriesagain5113 | 2024-11-17 14:25:55

<@1023671043287699568>

Reply by k3kalinix | 2024-11-17 14:26:47

Which project are you using?

Reply by crycriesagain5113 | 2024-11-17 14:35:11

What do you mean by which project?

Reply by k3kalinix | 2024-11-17 14:36:19

Do you use this demo project?

Reply by crycriesagain5113 | 2024-11-17 14:54:09

oh i saw it there is a project for that demo

Reply by k3kalinix | 2024-11-17 14:54:57

Yes, but there is nothing special for this move. You can use our default NPC animator.

Reply by crycriesagain5113 | 2024-11-17 14:55:39

okay thank you. I’ll try that and come back if I have any questions

Reply by crycriesagain5113 | 2024-11-17 18:17:00

Images:

Reply by crycriesagain5113 | 2024-11-17 18:17:41

I’m getting this error when i try to have the npc move to an object in unity <@1023671043287699568>

Reply by k3kalinix | 2024-11-17 18:19:33

It’s related to Navmesh. One of the popular errors. Please search on google for a solution.