# Animation

Rigging the Carno was quite straightforward, with some trial and error of the bone positions and lengths, I was able to rig the model to my needs in animating it.

I created IK ([Inverse Kinematics](https://en.wikipedia.org/wiki/Inverse_kinematics.)) rigs on the legs to easily animate it for walking and jumping.

<figure><img src="https://2691962101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3F82pexs22rwhy7L3zOX%2Fuploads%2FQWva62on4VouCJxxDJJg%2Fimage.png?alt=media&#x26;token=051e2b3f-a3c0-4297-822b-3c58e1bf3a2a" alt=""><figcaption><p>Walk Cycle (<a href="https://danielanimations.weebly.com/walk-cycle.html">Source</a>)</p></figcaption></figure>

For animation, there were no good references of walk cycles of dinosaurs. So instead, I used a reference of a human walking and applied the same principles of `contact -> down -> pass -> up`. I did the same thing for the jumping and idle animations.

<figure><img src="https://2691962101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3F82pexs22rwhy7L3zOX%2Fuploads%2FiqZ2LuAOwyJXca2UJaNi%2Fcarno%20anim.gif?alt=media&#x26;token=09467efb-f8b3-4767-b239-25f1f4bca47b" alt=""><figcaption><p>Carno walking animation.</p></figcaption></figure>

<figure><img src="https://2691962101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3F82pexs22rwhy7L3zOX%2Fuploads%2F7plJHqwyC5JydryTSisp%2Fjump%20anim%20full.gif?alt=media&#x26;token=2a52ff57-5583-4dd3-9a81-9e6a82ad60f2" alt=""><figcaption><p>Carno jumping animation</p></figcaption></figure>
