top of page

Procedural Animations

As a programmer, I wanted a solution for animating my games without actually doing animations, this is when i stumbled upon procedural animations, so what are procedural animations?

"A procedural animation is a type of computer animation, used to automatically generate animation in real-time to allow for a more diverse series of actions than could otherwise be created using predefined animations", or so says Wikipedia.

So, using unity's new "Animation rigging" as an IK soloution, and writing my own for the head .

IK.gif

I then added a Leg Home Position and wrote a custom parenting script to fix some problems with rotation, and added stepping logic.

Walk.gif

After adding some scripts for body rotation and feet position on different heights this is what I got.

ezgif.com-video-to-gif.gif

After some more playing around, I added an active ragdoll!

m2-res_1080p-ezgif.com-video-to-gif-converter.gif

I'm not sure this is the way its traditionally done, but what I ended up doing is running 2 models, one running the IK and walking around, and one with a ragdoll, and a script that makes the ragdoll match IK model

bottom of page