In some games like Flood escape 2 or Disaster Island there is water but is not the water terrain, it’s a block, and i dont know how they achieve it, and i would like to know something about how to make it, i tried to message the creators but they didnt respond me and i dont know what i can use to create that so i didnt know what to search in the dev. hub, you know something about that? and if you know something about, how do i achieve it? Thanks
What aspect of the “water block” are you looking to replicate?
You mean water that’ll rise in a period of time?
EDIT: Sorry, I mentioned the wrong person. I meant to reply to @Conejin_Alt
That you can swim in a block with no collision with some properties like the terrain water
No, i want to make a block that you can swim in
They actually recently released an update under the terrain tab called “Water Level” or something like that. But actually I think that they just changed the properties of a normal part in flood escape.
That’s called Sea level but i think you use it to move the water vertically, i want to find how to make a water block, a block where you can swim
Do you mean this?
And then you can fill it with water?
I am slightly confused with what you mean.
The OP wants something like minecraft. Sorry I cant contribute more
Couldnt you make a block with touched and have it make gravity slower? Or instead of touched, make it a region. That would be more reliable.
Not a block where it fills with water, i know do that, i want to make something like FE2, where you can swim in the water but that is not using the water terrain, it’s using a block
You’re gonna need to detect if it’s a certain part, if it is, then you play whatever swimming animation you currently possess.
Wouldnt it be the same more or less as I posted above? Simulate the water by altering the players movement.
Have a function that sets the players movement in the water, and when they leave, another function that sets it back.
But how i do it? i don’t know like nothing about that
This might be useful for you.
He means that like a swimmable part
I believe the OP (i believe people use OP to say the guy asking but eh ) is trying to create a part that simulates water but isn’t using any roblox terrarin whatsoever, Basically, he still wants people to swim in it and act like roblox terrarin water, but it isnt.
Search first before posting topics please.
https://devforum.roblox.com/search?q=part%20water%20category%3A55
So, i didn’t understand a bit the HumanoidStateType and the VectorForce, but i want to say, HumanoidStateType is used to change the state of the player (swimming/climbing) and if i change to swimming the player will start swimming?
HumanoidStateType describes the state that the Humanoid is currently in. Yes, you could change the state to swimming via ChangeState, but that is not enough. You will have to learn about BodyForces in order to create water parts that you can move in.
You just need to do the research and you’ll find your answers. For example, this post:
I made swimming mechanics in this place here. Same controls for surfacing and diving. I only used a BodyVelocity for this.
I basically just changed the BodyVelocity’s Velocity
property to the Humanoid’s MoveDirection
relative to their character’s cframe. For surfacing and diving, I just changed the Y-coordinate of the BodyVelocity to the direction they’ll go