Added a separate check on the layerMask for ray intersections so that it works even if we're not checking triggers only
Added a separate check on the layerMask for ray intersections so that it works even if we're not checking triggers only

prime31/Nez,Blucky87/Nez,ericmbernier/Nez,prime31/Nez,prime31/Nez,eumario/Nez