Trigger function in unity

Original Discord Post by holiday_29398 | 2024-09-23 04:06:21

Hi, I noticed that there are some updates in trigger method (spatial, time, event-based). I am wondering if there is more detailed documentation or tutorial for how to designing each of these three types of triggers in playground as well as intergrating into unity. Thank you.

Reply by holiday_29398 | 2024-09-27 06:15:53

Hi, anyone can help? <@1023671043287699568>

Reply by k3kalinix | 2024-09-27 06:33:41

Embedded Content:
Adding Narrative Design to your Character | Documentation
Follow this guide to incorporate Narrative Design into your Convai-powered characters. Follow this step-by-step tutorial, open your project, and let’s begin!
Link: Adding Narrative Design to your Character | Documentation

Reply by holiday_29398 | 2024-09-27 09:08:36

So for the spatial trigger, even just simply write that player reached a certain area, the unity will be able to understand this is the trigger I want to invoke (if I got a lot of spatial triggers) as long as I add the trigger component in unity?

Reply by k3kalinix | 2024-10-01 11:07:07

Add a collider in Unity and enable the Is Trigger option.
Then add NarrativeDesignTrigger component and Spatial Trigger will work.

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