Hi, I am making a procedural
(Not regular!) walking animation and I wanted to know if it was possible to reverse it so I can use the same forward animation frames but backwards to make a backward walk animation. If you wanted to know was a procedural walking animation is, it’s an animation that’s basically made just using scripts and not an animator. Here is a post on what procedural animation is:
Procedural Animation Post
Try reversing your time variable by just making it negative.
Hmm, I don’t understand what time variable you mean. Can you show some code or something?
I think he means reversing the speed to be negative and go backwards, if you have one. If not, I would recommend getting all the frames and playing it backwards. But since it’s procedural, it’s kind of hard. You would probably have to just completely regenerate it by making the leg going forward go backward, and vice versa for the others.
How are you playing the procedural animation? I’m assuming your using sin and cos and modifying the C0 directly. If thats the case then you can make either the argument for it or the sin and cos itself negative.
If your using cframe’s in a table that you lerp, you can reverse the array.