I am performing raycasts for my player navigation (click the floor to move). Within my scene there are various trigger boxes which when walked into perform various functions.
I want the movement system to ignore the trigger boxes and just detect for the floor collider. In Unity there is an ‘Ignore Raycast’ feature on colliders but there doesnt seem to be any way to do this in Playcanvas.
Any idea on how to achieve this in the most simplest way possible?
Thanks. How do I get my hands on the new engine release.
In the example I can see how I can filter by one tag (‘green’) but I still don’t see how I can use it to effectively ignore a certain tag. (Unless I maybe disable the object and then maybe fire the ray again.?!?)
What if I want the raycast to be able to detect multiple tags: floor, pickup, interactive object etc but ignore other ones (triggers etc)?