Hello,
I want the exact same behaviour you’d have whilst in terrain water when inside a part, I got the logic for detecting if you’re in the part figured out, i just want to know how to make it so that you can swim inside a part like you’d do in terrain water
- Br, iSyriux
Did you try the Search button up top?
Here is a pretty good tutorial:
it is better to do this with parts
[quote=“Oneironaut, post:1, topic:989627, full:true, username:iSyriux”]
Hello,
I want the exact same behaviour you’d have whilst in terrain water when inside a part, I got the logic for detecting if you’re in the part figured out, i just want to know how to make it so that you can swim inside a part like you’d do in terrain water
- Br, iSyriux
for i,v in pairs(game.Workspace:GetDescendants()) do
if v.Name == “Water” then
game.Workspace.Terrain:FillBlock(v.CFrame, v.Size, Enum.Material.Water)
wait(0.05)
v:Destroy()
end
end
wait sorry
for i,v in pairs(game.Workspace:GetDescendants()) do
if v.Name == “Water” then
game.Workspace.Terrain:FillBlock(v.CFrame, v.Size, Enum.Material.Water)
wait(0.05)
v:Destroy()
end
end