Timeline wont "Update" a value
Hello all! I am trying to create a recoil like system using blueprints, I am using a add pitch input, and just adding a float value to it for the recoil, but it is too sudden! So I used a timeline to try and update it as the timeline goes, but it wont "update" the value as I have seen it work elsewhere (For instance, it is supposed to make the recoil be lower in the beginning and higher near the end, instead it just seems to be the same high recoil value, which is not what I made the timeline for.) Thanks in advance!
asked Oct 28 '15 at 06:30 PM in Blueprint Scripting
You need to use the Timeline's float track as the alpha of the Lerp. Or just plug that float to controller pitch input and get rid of the Lerp.
answered Nov 27 '15 at 01:21 PM
If you have a float track in Timeline(from 0 to 1 to 0 in 1 second) then you also need another float, which would be 0 to reset the camera, and then animate between your recoil value and 0 using a Lerp node and timeline float for the alpha. Something like this:
Or you can use only the timeline's float for recoil and setup the curve like the picture below; between 0 to 45(your recoil pitch value) and then back to 0 in 1 second:
Follow this question
Once you sign in you will be able to subscribe for any updates here