i sounds like a issue with the origin of the character. the characters origin is at the center of the capsule so it is possible that if you dont compensate you could fall through the floor. why are you adding the camera location? that doesnt seem necessary.