Camera jerks with SpringArm and rotation lag enabled

zubetto
Fri, 21 Dec 2018 04:57:58 +0000
Editor Scripting

I have an issue with the SpringArm component if CameraRotationLag is enabled. When parent component of the SpringArm rotates about the world Y-axis (or about any axis that close enough to it) and passes through the zenith or nadir the camera attached to the SpringArm jerks noticeably. Passing the zenith the rotator changes like this: from [P=88.9999 Y=0.0000 R=0.0000] to [P=87.9999 Y=179.9999 R=179.9999]. And passing the nadir the rotator changes like this: from [P=-88.9999 Y=0.0000 R=0.0000] to [P=-87.9999 Y=179.9999 R=179.9999]. There are no issues if the CameraRotationLag is disabled. It seems that internally SpringArm uses some rotation interpolation. I tried some little experiment with the RInterpTo and got the same issue with object jerks when rotation is performed about the world Y-axis. Any help and guidance are very appreciated!

youtube

5 posts - 3 participants