//straddle here is always false in GigaGal.java. straddle = (platform.left > leftFoot && platform.right < rightFoot); //I think it should be: straddle = (platform.left < leftFoot && platform.right > rightFoot);