Movement script breaks colliders

Hi I augmented the character controller with this(in another c# file) It adds vertical movement but when my player object hits a collider whilst moving in this way it just travels straight through. Can anyone tell me why this is please?

void playerHoverMovement(){
		if(Input.GetAxis("upDown") >= 0){
			this.transform.Translate(new Vector3(0,Input.GetAxis("upDown"),0)
				* Time.deltaTime
				* verticalMoveSpeed
				* OceanBox.isBelowOceanFloor(oceanBox.playerTransform),
				Space.World);
		}
		if(Input.GetAxis("downUp") >= 0 /*&& !isAtLevelBounds()*/){
			this.transform.Translate(new Vector3(0,-Input.GetAxis("downUp"),0)
				* Time.deltaTime
				* verticalMoveSpeed
				* OceanBox.isAboveOceanFloor(oceanBox.playerTransform),
				Space.World);
		}
	}

CCexample

check the example there in the doc to use the CharacterController

controller.Move is the one that moves the char in the example. move works with a vector3 which is represented as the variable moveDirection. that gets the input axes