I think it’s good to note I am not a builder and I am a scripter, however I’m not sure where else to post terrain issues.
So, I’ve encountered a problem with water terrain: my character will not float in water - this is what I want (I want the character to be able to float on the surface or simply “swim”. I believe this could be a problem with the water in the terrain - it’s “hollow” meaning that when I go “underwater” it’s just air rather than water. This makes my character sink rather than float and swim. I’m not too sure what’s happening here.
The issue is that my character will not stay afloat, I’m assuming this is a problem with the terrain as water is just a layer of water with air inside making it “hollow” if you will.
So far I have tried looking throughout the forum searching for similar issues to no result. I have used raycasting to detect when water is directly below the character and apply a force to push it back up. I’ve also tried setting every basepart of the character to massless using the same technique. However, I have come to no success hence why I am posting here as my last resort.
I think it’s worth noting I’m using a custom character (a tiger model), these are the screenshots of what the water looks like: (it seems to be just air underneath, and I’ve used scripts to detect what material is directly present underneath the character and it says air when I’m in the water)