As the title asks I need a way to use the even-odd rule algorithm and as far as I am aware raycasts in unity only allow one collision per mesh and i need a way to detect whether the player is inside a specific mesh.
You can cast a ray, and if it hits, cast another ray with the same direction, but starting at the hit.point + a tiny little amount towards the direction to ensure you are inside the mesh and don’t hitz the same spot again. Repeat until you don’t hit anything. This will obviously not work if you need to register a ray going “out” of a mesh (coming opposite from the face’s normal dir).
I found this for you: