I created a custom water part that you can swim in, the problem is I want to build an ocean, but that would look ugly like this:
Part max size is 2048 x 2048 x 2048, the ocean is much bigger so how do I fix this?
I created a custom water part that you can swim in, the problem is I want to build an ocean, but that would look ugly like this:
This would probably be better fit in build support.
If you need to make your ocean that big and need the collision aspect that parts offer, you could try breaking up a cube into several pieces with some faces removed then piece them together in studio.
Upload a corner piece, an edge piece, and a centre piece.
Corner piece would have 2 adjacent faces of the cube removed.
Centre piece would have only top and bottom faces.
Edge face would have 3 horizontal faces in a row removed.
Then when you piece them all together, even though they appear to form a single rectangular prism, they can be broken into any number of parts thus allowing you to bypass the 2048^3 part size. And there isn’t any overlap at the seams
Here’s a file if you want:
prism.rbxm (3.6 KB)
That wouldn’t work in my case because I coded a custom swim which ultilize basepart properties
Accidentally pressed solution lol, I’ll try out this method
You could have your swim script trigger when the Character’s RootPart is below a certain Y threshhold
How would that work in a cave system?
If it’s isolated then you could use some sort of region detection to manually set the Y-threshold for when the swimming state can be activated
That makes sense, I’ll also try out your method
Alright I rewrote my script, although both @7z99’s method and @overflowed’s method work, overflowed’s seems more efficient based on how I coded it, very much thanks to both of you.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.