huyqpham
(huyqpham)
1
My camera lag (with Orthographic
type) worked normally until I change to use the AutoCalculateOrthoPlanes.
My camera component settings:
- Camera type:
Orthographic
- AutoCalculateOrthoPlanes:
true
My spring arm settings:
- Enable Camera Lag:
true
- Draw Debug Lag Markers:
true
(And I can see the marker still work)
How to fix this?
huyqpham
(huyqpham)
2
I fixed this. Here is my solution:
// [5.4.0] Engine/Source/Runtime/Engine/Private/Camera/CameraStackTypes.cpp
// ... add those lines after the line 431
FVector TranslationView = RotMat.GetColumn(3);
TranslationView.Normalize();
InOutProjectionData.CameraToViewTarget = CameraToViewTarget * TranslationView;
return true;
system
(system)
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.