Implemented a sensor to check if character is touching the ground to allow jumping.