You could record any character in scene by Sequencer. It could be triggered during gameplay as well.
I can’t say anything about error with this amount of information.
Hi everyone,
I want to create a replay function that can be watched on a buttonpress, a bit like a ghostcar in racing games…
I searched for this but I don’t understand how the examples work.
When I press a button I want to record my movement and when I press it again it should stop recording. When I press an other button my recently recorded movement should be replayed with an other pawn.
What would be the best way to accomplish this?
I thought of using a timer to save the transform of my pawn into an array.
And now I don’t know how I could solve the replay. My first idea was to create a spline from the transform array and animate my car mesh along it, but I don’t know if this is the best way to do so…
Has anyone a better idea of creating the replay?
Greetings
Evil_Fischi
I gave the sequencer a try. I was able to record a sequence but how can I replay it ingame? When I tried to pack the game, I got a packing error because of the sequencer nodes. So thats why I tried other ways…