How was this made? - Angle based animation/movement

Hiya,
So I’m making an ice skating game, but something I can’t seem to figure out how to create an angle/lean based movement system. Saw this while playing, and it is exactly what I’m trying to achieve (with different animations.)

(sorry about the quality, its just to take note of the mechanics.)
How was this made? Is it all scripts, or is it different animations for each individual movement? ie. looking back while walking forwards.
Any help would be appreciated!

If I would be making this then I would just go with some pre-made animations that I would create with the Animation Editor.
There are multiple ways how to achieve this result. You could also possibly make it by script changing the Motor6D’s C1 or C0 (I’m not sure now which one is a correct choice).
But I think using some pre-made animations made by the Animation Editor will be the easiest and most smooth soloution to this.
Feel free to correct me if I’m wrong!

1 Like