Delay Variable Data in Blueprints

How can I delay the data from a variable?

I want to be able to get my actor’s velocity from 3 seconds in the past. Is there a way that I can take a variable and make it return data that has been delayed by 3 seconds?

I’d like to use this to record the location, rotation, and velocity of my character from 3 seconds in the past so that players can jump back in time at the press of a button.

Hi . Sorry for opening your old thread, but I was wondering if you have found the answer to your question. I’m in a similar boat here:

Hi everyone,

Something you could do is have an array populated with variables, and each time you need to run this (for 3 seconds I would probably do something similar to every .25 seconds, to be certain you are holding enough data), update the most recent transform into the array as the last item in the array and remove element 0, that way, element 0 will always be the transform from X iterations back, allowing you to “rewind” through the array to that point, but only as far as you have elements in the array. Here is an example I made in the level blueprint: