How to get more consistent hit results?

Hi, how can I get more consistent hit results?

The first continent I click is supposed to show the green widget whilst the second continent I click is meant to show the blue one.

Everywhere else is just supposed to display “Coming soon”

Put a breakpoint and look at what happens, would say either a bad material ( i think that’s how you tagged the continent ? ) or wrong collision settings so the trace miss that element

1 Like

hi,
you could try to change your line trace in Continent Detect function to something like this

hope this helps you :slight_smile:

cheers :vulcan_salute:

1 Like

This helped a lot. also forgot I had two separate click events happening for the widgets to so combined those and that also got a better result. Thanks!

1 Like