Swimming on the water's surface

Add a sphere collision at chest height. When that overlaps the water volume, they are in swimmable water (set swimming). After a dive, when they reach the top (surface), disable dive/down movement input, jump, and limit mouse pitch/yaw (rotation) to a set amount of degrees until the collision ends overlap.

1 Like