Baking the navigation mesh