depth of the water

How to calculate the depth of the water when the character is swimming and the value appears on the screen *I don’t want the blueprint to be on third person?

is swimming true, line trace, grab the distance to the ground, start timer

Timer:line trace, grab distance

is swimming false, Invalidate timer

1 Like