Help with Interpolation Problem?

When I move my AimOffset, the camera rotates.

I will then press WASD to try and move F, L, B or R.

My character will INSTANTLY turn and then start the move animation.

Also the beginning of the video is showing the AimOffset and the turn speed of the animation.

However the turn animation only plays on loop if the camera yaw is past some odd degrees. It will take really long if I spin the camera all the way around to face the backside of the character and if I try and speed up the animation play it looks bad. How can I make this animation play faster and still look good as soon as my camera angle stays past the degrees?

Hi ,

This has a lot to do with how you are transitioning from your idle state to your run start run state. There a few ways to deal with this, but if you want to change how quickly the character changes direction while reorienting this is controlled by the rotation rate. (highlighted in screenshot) I threw together some Blueprint Script that may help. The reason is if you have a low rotation rate it will look bad if you try to turn at a large angle so I made it so that the rotation rate increases the more you turn.Note that this was made for the third person template and may need to be tweaked for your situation

Regarding your animation speed it sounds like you will need to edit the animation in your 3d application by either removing frames or redoing the animation entirely. If it is too slow and looks bad when sped up not much you can do about that.

Let me know if that helps,

Ed

How did you get the camera boom relative rotation node
And set rotation rate node?

My nodes only have the light gray ability of rotator vars not float

I dragged off camera boom and typed “get relative rotation” then right clicked the pin and selected “split struct pin” to get it to separate into 3 float values. To set rotation rate I dragged off of character movement and typed “set rotation rate”.

For me it actually didn’t do anything! I looked away from center then pressed W and my character still instantly rotated to face the new look direction.

I have orient rotation to movement checked.

What happens if you set the rotation rate to be really low. If you don’t notice any change there is something else going on that is rotating your character. Also, make sure you unplug the nodes when testing the turn rate. I would try a crazy low value like 60 to see if something changes.

If that works you just need to change the values in the lerp node to suit your needs. make the lower value even lower if he is turning too fast.

I tried 60 and even tried X Y or Z to alpha of lerp. The rest of which I am using fall under “Yaw”

It just instantly turns my character, I am using controller yaw as soon as I start moving though…would this be a problem?

Yes, if you are enabling that when you start moving the character will snap to your controller rotation. You can probably put in some kind of check to make sure your character is already aligned before enabling that.

The information I gave you earlier assumed you were using “orient rotation to movement” found in the character movement settings.