I want to apply a rotation offset for TargetCameraRotation.
the original code was :
TargetCameraRotation = UKismetMathLibrary::RLerp(InterpResult, DebugViewRotation,GetCameraBehaviorParam(TEXT("Override_Debug")), true);
the following is my code :
TargetCameraRotation = tCameraTransformOffset.Rotator * UKismetMathLibrary::RLerp(InterpResult, DebugViewRotation,GetCameraBehaviorParam(TEXT("Override_Debug")), true);
then got the error message when compiling.
C:/Users/leeha/Documents/UnrealProjects/Sinstorm425/Plugins/ALSV4_CPP-main/Source/ALSV4_CPP/Private/Character/ALSPlayerCameraManager.cpp(113) : error C3867: ‘FTransform::Rotator’: non-standard syntax; use ‘&’ to create a pointer to member
C:/Users/leeha/Documents/UnrealProjects/Sinstorm425/Plugins/ALSV4_CPP-main/Source/ALSV4_CPP/Private/Character/ALSPlayerCameraManager.cpp(112) : error C2678: binary ‘*’: no operator found which takes a left-hand operand of type ‘overloaded-function’ (or there is no acceptable conversion)
Could anyone tell me what is the right syntax for that, Thanks!