Variable from last frame
Hey there! I've got a little lack of experience problem here. I have a variable that I create in script(blueprints). What I need is to find out what was this variable last frame. Is it possible to somehow store it and access it next time, than again replace with new variable? Thanks!:)
asked Jul 05 '16 at 05:14 PM in Blueprint Scripting
This is a very simple example showing how to use a (float) variable which stores a value and uses is in the next frame.
The functions Do Something and Compute Variable (sry for the spelling error in the screenshot) are just dummy functions I created to show you the places where you have to put your data in the variable and where you can use it in the next frame.
I hope this helps you.
answered Jul 05 '16 at 11:05 PM
I believe what you're looking for is the Tick event, which is an event that is called every frame.
answered Jul 05 '16 at 08:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here