Hi, I’m trying to have a functionality for temporary locking some of the axis of Camera on SpringArm.
The goas is to prevent camera from tracking rapid changes in actor orientation that are not under player’s control (temporary override from autopilot).
I was trying to play around those:
if (AutopilotActive)
{
bInheritPitch = true;
bInheritRoll = true;
}
But it gives a very hard transition once that override is over. What’s the best way to smooth it? I was thinking around those solutions:
- Have two cameras, one normal, one with locking when override is happening, I switch to the locked version immediately, but make a smooth transition to a normal one
- Override UpdateDesiredArmLocation with some additional interpolation on top of an existing one
Do you have any additional or preferable ideas about this?