is it possible to make low poly water like this to be swim able just like roblox “normal” water
(its the blue meshes, sorry for bad image quality)
if yes could anyone help me out
i have this script:
-- Replace "Water" with the name of your mesh object
local water = game.Workspace.Water
-- Set the mesh's friction to 0 and its elasticity to 1
water.Friction = 0
water.Elasticity = 1
-- Create a function that applies a force to players when they enter the water
function ApplyForce(player)
-- Get the player's character and the water's surface normal
local character = player.Character
local normal = water.CFrame.lookVector
-- Calculate the force to apply to the player
local force = normal * -100
-- Apply the force to the player's character
character:ApplyForce(force)
end
-- Connect the ApplyForce function to the PlayerEnteringWater event
water.Touched:Connect(ApplyForce)