Basic player and terrain collision (very buggy)