prevent camera being able to go through the terrain.