Forum rules - please read before posting.

Fade sprite trigger box is affecting navigation

Hi, I am using the fade sprite script to make objects visible when the player comes near, then fade out when he walks away, I'm using 2D trigger boxes, both in the same place and the same size, one set 'on enter' and the other set to 'on exit'
everything works great, except I noticed that when clicking inside the boxes the character has a hard time registering the click, sometimes doesn't move at all, where usually he would walk wherever I click no problems.
Everything goes back to normal when I uncheck the 2D box collider on the triggers, but they need that to work.
Any ideas on this? thanks in advance :)

Comments

  • What's your navigation type set to? Point and click?

    Try changing the Trigger's layer. If it's on the "Ignore Raycast" layer, it shouldn't interfere with mouse clicks or navigation - but it may if on the "Default" layer.

  • Thanks Chris I will check that out.

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.