Terrain and bug behavior