updated physics; need to find a way to detect the floor