Since meshes can be bigger than parts, I’m using a mesh for water. I want to make a raycast that checks if the water is in a certain range of the player. However, I am wondering it will only return true if the line is hitting the part. Or will it also work if it hits the mesh?
If it works with the mesh, than there’s a different problem in my script that I’ll have to deal with.
You could go into blender, create a huge plane or long cube, and insert that into roblox as the ocean. Since it is still a basepart it is going to be hit by the ray.