Raycaster length


#1

Hi All, Currently tweaking a project for the next iteration. I’ve had some instances when, using the controller more than one button has returned an intersection and upon trigger click have both activated.

Is there a way to restrict the length of the raycaster or otherwise can anyone suggest a tried method to ensure only one button is intersected at any one time.

Thanks,
Stephen


#2

As is mostly the case I answer my own question in the process of thinking it through… in this case I forgot to change the colliderLimit! :blush: