AI handling and predicting of terrain