Why do we need to declare the two floats TargetYaw & Current Locations.
I tried including only values in the Lerp (below):
FRotator TargetLocation;|
TargetLocation.Yaw = FMath::Lerp(0.f, - 90.f, 0.001f);|
GetOwner()->SetActorRotation(TargetLocation);|
Both doors became wide open, without any animation, i.e., did not lerp
Just an update, apparently the issue is in the Current location, because I replaced the TargetYaw with a value & the code still works fine.