Spring Arm rotation goes WILD!
Hey everyone :) I have a setup to rotate my springarm for the camera on my pawn in 45° steps. The setup is a modified version of the "smooth zoom" that you can find in the Stategy Game Example. The camera does indeed smoothly rotate whenever I press the left or right key, but as soon as the rotation angle goes below -180 or above 180 it just spins wildly and doesn't stop until I go back inside the range it accepts.
Does anyone know why it does that? I did not change any default settings on the spring arm component itself btw.
Here is my setup:
Thanks a lot for any help on this :)
asked Jan 21 '17 at 11:08 PM in Blueprint Scripting
I'm here to answer my own question ;)
It seems FinterpTo does not work well with rotations and therfore Rinterp exists. After switching the interpolation method to the new one, everything rotates fine and nothing goes haywire! Here's the change that goes in place for the FinterpTo from my setup:
answered Jan 25 '17 at 09:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here