public AabbToAabbParameters getPointToPlaneParameters(AABB aabbscnd, MovingObject mo){
        AABB aabbfst = mo.getPredictedAABB();
        Vec2 expandedExtent = aabbscnd.getHalfExtent().addTo(aabbfst.getHalfExtent());      
        Vec2 expandedCenter = aabbscnd.getCenter();
        Vec2 centersDifference = expandedCenter.sub(aabbfst.getCenter());
        Vec2 initialCenterDifferences = expandedCenter.sub(mo.getCenter());
        int halfExtentX = aabbscnd.getHalfExtent().getX();
        int halfExtentY = aabbscnd.getHalfExtent().getY();
        int moHalfExtentX = mo.getAabb().getHalfExtent().getX();
        int moHalfExtentY = mo.getAabb().getHalfExtent().getY();
        if(initialCenterDifferences.getX() > -halfExtentX - moHalfExtentX && initialCenterDifferences.getX() < halfExtentX + moHalfExtentX &&
                initialCenterDifferences.getY() - moHalfExtentY - halfExtentY <= 0 && initialCenterDifferences.getY() - moHalfExtentY - halfExtentY >= -2)
             mo.setCanJump(true);        
        Vec2 normalPlane = centersDifference.getMajorAxis().getNegationTo();
        Vec2 minorNormalPlane = centersDifference.getMinorAxis().getNegationTo();
//        int yDistance = centersDifference.dotProduct(new Vec2(0,1));  
        int distance = getDifferenceFromPointToPlane(normalPlane, expandedCenter, expandedExtent, aabbfst.getCenter());
        int minorDistance = getDifferenceFromPointToPlane(minorNormalPlane, expandedCenter, expandedExtent, aabbfst.getCenter());
        AabbToAabbParameters positionParameters = new AabbToAabbParameters(distance, minorDistance, normalPlane, minorNormalPlane);
        
//        
//        System.out.println("distance:" + distance);
//        System.out.println("minorDistance: " + minorDistance);
//        if(centersDifference.getY() >= 0 && (distance <= 0 || minorDistance <= 0) && !verticalInnerCollide){
//            mo.setCanJump(true);
//            System.out.println("condition true");
////        verticalInnerCollide = false;
//        }
        return positionParameters;
    }