Page 2 of 3

Re: about DialogueSystemMotionControllerBridge

Posted: Fri Jul 20, 2018 2:56 pm
by claudius_I
this is the problem



i hope the video show this time

Re: about DialogueSystemMotionControllerBridge

Posted: Fri Jul 20, 2018 5:44 pm
by Tony Li
Hi,

Here's an updated support package: MotionController_Support_2018-07-20.unitypackage

The example scene shows 3 ways to start a conversation:

1. Proximity Selector (press 'F' to talk).

2. Motion Controller interaction.

3. OnTriggerEnter.

Remove the Box Collider from your player. It doesn't work well with the Sphere Colliders that Motion Controller adds automatically. Instead, add the trigger collider to the NPC. Look at the GameObject named "Private Hart Clone" for an example.

I'm not an expert with Motion Controller interaction. It works if you walk straight forward to "Private Hart". But if you look away, or if you run the conversation once, it doesn't work again. I think it's because of the way I set up the interaction. If you set it up correctly in Motion Controller, the Dialogue System should work fine with it.

(Sorry about not understanding before. I forgot you were using Motion Controller. Someone else had recently asked about Invector integration, so I was testing that with OnTriggerEnter. :oops: )

Re: about DialogueSystemMotionControllerBridge

Posted: Sat Jul 21, 2018 1:12 pm
by claudius_I
works!

thanks Tony. but the the only problem is that i want the character talk to npc only when he is face to face to the npc.

other question i have is how i can do that the button continue fill all the canvas
no matter where i clicked, the conversation continue

thanks again. you support is the best .)

Re: about DialogueSystemMotionControllerBridge

Posted: Sat Jul 21, 2018 2:00 pm
by Tony Li
Hi,

I'll send you an example scene soon.

For OnTriggerEnter, you'll need to put the collider on a child GameObject with a different tag.

For the continue button, you'll need to make the button cover the screen and set the color alpha to 0 to make it invisible.

The example scene will demonstrate both.

Re: about DialogueSystemMotionControllerBridge

Posted: Sat Jul 21, 2018 2:18 pm
by Tony Li
Here's the example scene: MotionControllFacingTriggerExample_2018-07-21.unitypackage

The player has a child GameObject named ProximitySelector. It uses the GameController tag, but you can use whatever tag you want. Make sure the NPC's Dialogue System Trigger > Conditions > Accepted Tags only accepts this tag.

The Dialogue Manager points to a customized UI. I moved the continue button outside of the NPC subtitle panel and made it cover the whole screen.

Re: about DialogueSystemMotionControllerBridge

Posted: Sat Jul 21, 2018 5:53 pm
by claudius_I
thanks :) work great 8-)

Re: about DialogueSystemMotionControllerBridge

Posted: Sat Jul 21, 2018 9:30 pm
by Tony Li
Great! Glad we could find a good solution.

Re: about DialogueSystemMotionControllerBridge

Posted: Mon Jul 30, 2018 11:15 am
by claudius_I
Hi Tony

i think i found a bug.

if you open and close quest log window and after you complete a quest o subentry and open the quest log this isn't updated and show the same information like before. you need to clicked in the ques for update the information.

thanks again

Re: about DialogueSystemMotionControllerBridge

Posted: Mon Jul 30, 2018 12:03 pm
by Tony Li
I'll fix that in the upcoming version 2.0.3.

Re: about DialogueSystemMotionControllerBridge

Posted: Fri Aug 10, 2018 10:50 am
by claudius_I
Hi tony

I have a question

I used many dialogue system trigger (in my project for all object that needed a trigger)

the cost in performance is high?

thanks