Usable Box collider2D Use Distance

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
OneManOnMars
Posts: 105
Joined: Tue Apr 05, 2016 9:37 am

Usable Box collider2D Use Distance

Post by OneManOnMars »

Hi,

I have a question on how the Conversation Trigger works combined with a Collider2D in a 2D game space. I use this Setup:

Image

Ok, everything works, but I can use/trigger the conversation even if I am NOT in the collider2D, but just close by. Why is that so?
I disabled the collider to see if anything else is used to check the proximity but it does not work without the collider.

Since I use a lot of different triggers close to each other this leads to unpredictable problems.

Thank you for your help.
OneManOnMars
Posts: 105
Joined: Tue Apr 05, 2016 9:37 am

Re: Usable Box collider2D Use Distance

Post by OneManOnMars »

Alright, I found the probelm. I used a circle Collider on my character. This could lead to multiple overlaps. Changed this to a capsule collider.
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: Usable Box collider2D Use Distance

Post by Tony Li »

Sounds like you got it sorted out. I don't know if this will help, but you might be able to restrict collisions by layer.
Post Reply