#need help with swimming(Solved)

1 messages · Page 1 of 1 (latest)

keen portal
#

i dont rlly know how to add swimming, i already got a water physics system but its done with anchored parts.the video is the ocean i have right now. my goal is a surface level swimming basically but you can like fall underwater but you cant dive underwater basically.

#

how do games do surface level swimming

wet river
#

Thats a tough one yh

#

Looks impressive tho

#

U could add another body of water under the wave level for diving and make it invisible (terrain water)

#

Idk about above the water tho

keen portal
lunar scaffoldBOT
#

studio** You are now Level 4! **studio

keen portal
#

because of the waves

#

adding terrain water wont rlly do much as you cant scale water up or down,

#

even if you coudl do that it wont be helpful as the plane is moved locally

wet river
#

Below the wave line

#

U add invisible water so they can dive

#

And dont fall trough

#

U still gotta figure out the wave bouncing issue tho

keen portal
#

i guess

#

but i dont rlyl want swimmable underwater yk

#

i js want a swimmable on surface

#

and wehn you fall you js go up

#

and adding roblox water might also take a bit of peformance

somber swift
#

I mean u could do water.Touched and then change plr state to swimming

keen portal
#

the plane is moved locally though

#

and the planes

#

are cancollide false

#

the player would js fall through

#

and touch wont work as i am moving the bones

#

not vertex points

wet river
#

Mb raycast?

keen portal
#

i could

#

but i already figured it out

#

all i got to do

#

is check when the players Y level is near the Y level of the water using the formula

#

need help with swimming(Solved)