Water Transition

MwaterTransition

Description The players transition into water will be described here

Functionality: This is to avoid clipping with the water surface.
 * When the player tries to transend into the water (dive) the camera will, while still keeping the player in focus, change angle by 10-20 degrees downwards
 * When the player is so deep that the water surface will not be in view the camera will ease back into its normal angle.
 * When the player transends upwards the camera will once again change its angle downwards.