dead state flag for no user input floor = under feet test onground? feet = wading test waist = swimming test head = submerged test if ( floor == solid) if (head == water) friction = 0.8; else if (waist == water) friction = else if (f