Search found 6 matches

by dharry
Thu Dec 26, 2024 3:35 am
Forum: Dialogue System for Unity
Topic: OnTriggerEnter not firing
Replies: 5
Views: 918

Re: OnTriggerEnter not firing

Ok, I got it - all the child GO's of the character had to be tagged as Player, not just the root of the character.

In my case, I also had a collider on a child component which was tagged as Untagged. Once I set that to player the trigger worked fine.

Thanks Tony, hope this helps someone else :)
by dharry
Thu Dec 26, 2024 3:28 am
Forum: Dialogue System for Unity
Topic: OnTriggerEnter not firing
Replies: 5
Views: 918

Re: OnTriggerEnter not firing

Ok, I tracked it down to this: private bool IsAcceptedTag(Transform interactor) { if ((interactor == null) || (acceptedTags == null) || (acceptedTags.Length <= 0)) return true; return acceptedTags.Contains(interactor.tag); } The acceptedTags is a list which contains "Player" however the in...
by dharry
Thu Dec 26, 2024 1:40 am
Forum: Dialogue System for Unity
Topic: OnTriggerEnter not firing
Replies: 5
Views: 918

Re: OnTriggerEnter not firing

Hi Tony, Yes, trigger collider on the NPC. I have just changed things a little to put the Dialogue Actor component one of the player characters and ensured it's tag is set as Player. Still got the same result though, Last Check: False - it did go from None to False when the character entered the col...
by dharry
Tue Dec 24, 2024 5:09 pm
Forum: Dialogue System for Unity
Topic: OnTriggerEnter not firing
Replies: 5
Views: 918

OnTriggerEnter not firing

I am building an RTS game and have the Dialog Actor component on my main Game Manager GO set as Player. I have a box collider, dialogue system trigger, rigidbody and dialogue actor set on another GO set as NPC. I have the Dialogue System Trigger set to On Trigger Enter with an Accepted Tag as Player...
by dharry
Thu Jul 20, 2017 6:17 pm
Forum: Dialogue System for Unity
Topic: Conversation Trigger Distance?
Replies: 3
Views: 702

Re: Conversation Trigger Distance?

Thanks Tony,

You were spot on, I worked it out though... Inventory Pro was adding a sphere collider to my player at run-time and I had the default radius set to 10, adjusted to 2.5 and works perfectly now :)

Appreciate the reply.

Regards,
Dean
by dharry
Wed Jul 19, 2017 8:22 pm
Forum: Dialogue System for Unity
Topic: Conversation Trigger Distance?
Replies: 3
Views: 702

Conversation Trigger Distance?

Hi there, I am having a problem with the Conversation Trigger Distance. I have a capsule collider on my NPC and have set the range to where I want it to trigger however the conversation gets started well beyond the range of the collider. Is there a place somewhere that you can define the distance of...