added basic terrain collisions