Search found 17 matches

by focusonfungames
Mon Nov 05, 2018 9:44 pm
Forum: Dialogue System for Unity
Topic: Trigger Chat by bowing in VR
Replies: 9
Views: 2085

Re: Trigger Chat by bowing in VR

Sorry to necropost, but this is relevant to this discussion as I'm trying to fire "use" on my NPC dialogue in the same manner that the GP mentioned, except that mine is via a different gesture. I have the gesture working, I have a Debug.Log firing to tell me when my Proximity Selector ente...
by focusonfungames
Sun Sep 23, 2018 8:04 pm
Forum: Dialogue System for Unity
Topic: proximity selector
Replies: 6
Views: 1069

Re: proximity selector

Got it. Thanks!
by focusonfungames
Sun Sep 23, 2018 7:23 pm
Forum: Dialogue System for Unity
Topic: Proximity pick closest
Replies: 7
Views: 1230

Re: Proximity pick closest

Ok so the Use the closest Usable is done, overrode the ProximitySelector to update which one's closest, and only call the OnDeselected stuff when the closest is changed. Would you consider open-sourcing this? Tony, just to confirm: by default, Proximity Selector always selects the most recent entry...
by focusonfungames
Sun Sep 23, 2018 7:09 pm
Forum: Dialogue System for Unity
Topic: proximity selector
Replies: 6
Views: 1069

Re: proximity selector

What I've seen other libraries, specifically VRTK, do is provide a public Collider variable attached to the script. If that value is null then the script creates a collider on that game object automatically/dynamically. This way, you can specify your own collider (likely you'll want to) but it'll st...
by focusonfungames
Sun Sep 23, 2018 2:34 pm
Forum: Dialogue System for Unity
Topic: Trigger Chat by bowing in VR
Replies: 9
Views: 2085

Re: Trigger Chat by bowing in VR

I missed the part about the player needing a Trigger Collider. Once I did that, it started to work :) Thanks, Tony!
by focusonfungames
Sun Sep 23, 2018 2:32 pm
Forum: Dialogue System for Unity
Topic: proximity selector
Replies: 6
Views: 1069

Re: proximity selector

I spent a fair bit of time trying to get the Proximity Selector working, myself. In the end, it was because I didn't have a Sphere Collider set as Trigger on my player game object. It's assumed in all of the documentation (I think) that the player has this set up. It's obvious, looking back, but unt...
by focusonfungames
Sun Sep 09, 2018 6:26 pm
Forum: Dialogue System for Unity
Topic: Trigger Chat by bowing in VR
Replies: 9
Views: 2085

Re: Trigger Chat by bowing in VR

Once you've detected the bow, you can call the nearest Dialogue System Trigger's OnUse() method to start the conversation. One way to know the nearest Dialogue System Trigger is to use the Dialogue System's Proximity Selector component. Instead of "using" the selection with an input butto...
by focusonfungames
Fri Sep 07, 2018 8:50 pm
Forum: Dialogue System for Unity
Topic: HTC Vive Raycast
Replies: 1
Views: 477

HTC Vive Raycast

Hi Tony & Team Is there any way to enable a visual raycast from the dialogue system so I know where it's aiming? I'm running into a case where the Usable icon ("press spacebar to talk to this NPC") is only appearing when I look near it's head but off to the side a bit... Second: I can'...
by focusonfungames
Mon Jul 02, 2018 12:18 am
Forum: Dialogue System for Unity
Topic: Making Dialogue System find the VRTK Camera
Replies: 1
Views: 533

Making Dialogue System find the VRTK Camera

My game is (currently) for the HTC Vive (will be launching to other VR headsets once the core gameplay is complete). Anyway, using the VR Toolkit (VRTK) means that the VR camera is not ready by the time the Dialogue System scripts begin execution. Even changing the scripts in the Script Execution Or...
by focusonfungames
Sun Jul 01, 2018 11:44 pm
Forum: Dialogue System for Unity
Topic: Snap Dialogue UI to NPC
Replies: 3
Views: 471

Re: Snap Dialogue UI to NPC

Thanks! I had it that way originally, but I could've swore I saw OnConversationStart as being marked as deprecated in the docs. I can't that note again, so I'll switch to OnConversationStart.