sure, it's rather simple (in concept ๐):
- first you linetest against the plane the triangle is on (any point on the triangle and the triangles normal)
- then you have the point where you hit the plane
- and you need to find the closest point on the triangle to this point
- and then you measure the distance between these two points and if it's below the radius it's a hit
of course it can be done in a more sophisticated way by also doing a linetest for each vertex as if they were spheres etc.
and less sophisticated: just using more than one raycast to check for the floor
what tools are you using btw? would you like example code? ๐ค