Using finterpto to smooth rotation
Currently working with the flight template. Added this section to allow the camera to rotate left and right slightly when a yaw input is provided (similar to a neck rotating). Currently the camera jumps from the 0 value to the -15 or 15. Could anyone explain how I might smooth this out?
I can't seem to figure out how to implement the finterpto node into this script and properly smooth that camera rotation. Could it be that my exec connection for the camera's relative rotation is coming from that input yaw axis? Does this need to start at event begin play?
asked May 03 '16 at 03:48 PM in Blueprint Scripting
So, usually you lerp/interp two between two locations. The problem here is you have your logic via axis value, so you won't be able to just go between two locations. Instead of setting the rotation (to 15 or -15, which is how you have it set), why not AddRelativeRotation instead? You can also try out the RotationMovementComponent. But if you really do want that Set, you just need to watch that video in the beginning and it'll help you out!
Follow this question
Once you sign in you will be able to subscribe for any updates here