I know I can ignore terrain. But I only want to ignore the water. Is this possible? If so how would I do it?
I've tried researching it, but can't find anything about it. Thanks
Ignore Water is the fourth parameter on FindPartOnRay, so if you simply set the fourth parameter to true you should be good.
https://developer.roblox.com/en-us/api-reference/function/Workspace/FindPartOnRay
maybe this will help, tried to see if i could find water in terrain, here is the 1 line script
if game.Workspace.Terrain == Enum.Material.Water then
hope this helps