raycasting only makes flat levels and walls