ok i'm sure if i put more effort into this, it'd be better, but here ya go little bro, a basic thingy on how to make objects interact with terrain. it sucks, sorry, it's been a while since i've coded something like this…