Creating smooth terrain and part terrain planet gravity. edit: for a physics based car now

hey man! Awesom job with this! I have been trying to figure this out for the past few days, and I just can’t manage it! Would you mind showing me your code? Thanks!