How do i make a submarine?

  • What are you attempting to achieve? Im trying to make a submarine that roblox terrain water doesnt come in

  • What is the issue? if i put my build underwater,terrain water would just come in (pic)
    Screenshot 2021-12-25 192614

  • What solutions have you tried so far? nothing

You may then include any further details.

4 Likes

Hello.

There is sadly no easy way around this with Roblox water.

Although, there is regions under the Terrain options that could help. Bother than that, there is no way around this.


Sincerely

StompyDonut426
:roblox: Roblox Beta Tester :roblox:

4 Likes

After searching around for a bit, I found two sources that may help you get around the water, but you would likely need a script:

1 - Scripting Terrain (roblox.com)
2 - Terrain (roblox.com)

Let me explain. The first source suggested the use of several functions, which may be useful. For instance, if it is possible, you may try the Terrain:FillBlock() function, which supposedly uses parts to create terrain. You could place a series of large, transparent blocks in your submarine, and find a means of welding them all there.

Next, you need a while loop that constantly uses the Terrain:FillBlock() function. Now, what I think is if you either try to fill it with nothing, or perhaps there is an “air” option, you could pull it off. Then, all you need is a block surrounding your vessel, which is also welded, to run a similar while loop, which can fill the surrounding area with water.

You may also need the Terrain:FillWedge() function, and others.

Additionally, I added the second source as a reference for working with terrain, be it in this way or any other.

Note: I have not tested anything written above, so it’s all just in theory.