dwarfcorp
dwarfcorp copied to clipboard
Camera: View will snap into ground when nearby bedrock level pit
Camera snaps through terrain looking down to bottom layer.
- Build a shaft that goes down to bedrock.
- Slowly approach the shaft with the camera from a side view. You might also be able to activate this bug by pressing Q into the shaft from some distance away.
- Observe the camera snaps through terrain, looking down to the bottom layer while exposing some OOW stuff too.
012018c8
This is due to a discontinuity in terrain height causing the camera following terrain to fail. I might clamp the terrain height following or greatly slow it down to reduce this effect.
I just pushed a change that makes camera height following much much slower, and clamps the total terrain height that it will change the camera by to 10 voxels. Please try it and let me know what you think.