Changing terrain sampling for correct obstacle creation. Not finished yet.