Page 1 of 1

Dialog-system not detecting 2D colliders despite activating 2D.

Posted: Fri Jan 17, 2020 9:19 am
by Hulda_Gnodima
Hello!

My dialog-system is not reacting to 2D-colliders (despite me having pressed "Enable Physics 2D-support"). Im using Unity-version 2019.2.18f1 and I followed the Quick-Setup tutorial of the asset to make sure I did everything correctly.

You can see how the dialog is "misbehaving" here, detecting 3D-colliders but not 2D-colliders.


And here's an image of me having pressed the "Enable Physics 2D-support". I pressed it once and now it's grayed (I can't press it again) out so I've guessing it means that it's activated.


I found this forum-post from 2019 with a similar problem, but as I've already pressed "Enable Physics 2D-support" the suggestions there don't fix my problem: https://www.pixelcrushers.com/phpbb/vie ... php?t=2203

Thank you so much for the help in advance!
Gnodima

Re: Dialog-system not detecting 2D colliders despite activating 2D.

Posted: Fri Jan 17, 2020 9:32 am
by Hulda_Gnodima
I figured it out!
On the selector-script (that you put on the "Player" in the Quick-Set up tutorial) the Raycast-option has to be put to "in 2D" like so:



That fixed it for me :)!

Re: Dialog-system not detecting 2D colliders despite activating 2D.

Posted: Fri Jan 17, 2020 10:33 am
by Tony Li
Glad you got it working! :-)

Re: Dialog-system not detecting 2D colliders despite activating 2D.

Posted: Fri Jan 17, 2020 5:35 pm
by Hulda_Gnodima
Thank you, and thank you for making this amazing asset! :)