Forum rules - please read before posting.

Circle collider on NPC trigger problem

I have several NPCs in my project. All this NPCs have a parent with a circle collider 2d (with 'is trigger' not activated) and a child with a box collider 2d (with 'is trigger' activated).

When I hover the mouse on some of them, they work properly and I can see their names, however there are some other NPCs that are not working properly. The trigger area of this other NPCs seems to be trimmed by the parents circle collider like if it is overlapping the child. When I hover over the rectangle area of the box collider I can see the name of the NPC but if I enter on the circle collider defined area, the name is not shown and the NPCs hotspot doesn't work.

I can't find any difference between the NPCs working and the problematic ones.

I am using Adventure Creator 1.49 and Unity 5.5.2f1

Thank you!

Comments

  • Place the child GameObject on the Ignore Raycast layer if you want the mouse to ignore the collider on it.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.