Added swimming and diving mechanics and splashy sounds. Fade to gray then black from hypoxia with drowning sounds.
Implementing swimming took two weeks as there was a lot of situations to handle. The character controller now has to float and swim according to head direction. New animations for hands and legs according to swim and head direction. Surface swimming needed to be handled as a special case and the hands need to be limited to the surface. Completely new set of sounds for surface swimming. Transitioning in and out of water needs to be seamless together with sounds for that. Climbing out of water requires special code to detect surfaces to climb on. Blood washes off in water and you will bleed again a while after getting out. I still need to add water splash effects and waves.
Also added air supply which right now is just holding your breath. You should be able to free dive and catch fish and other stuff. Space to swim up, X to swim down. Hold shift for fast swim, but this will increase your air usage and drain stamina. Air will replenish when you are near or above the surface.
