MinaPecheux / UnityTutorials-ProceduralAnimations

The code for a short tutorial on procedural animations and how to create them thanks to the Animation Rigging package in Unity/C# (available in text format).

Home Page:https://minapecheux.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Unity/C#] Creating procedural animations

Mina Pêcheux - November 2022

Did you know we can actually code up movement in scripts? Thanks to Unity's amazing Animation Rigging package, we can boost our imported rigs with additional controllers like IKs, and then use C# logic to create a simple system of procedural animation.

Learn more in the text tutorial on Medium!

demo

In this 10 minutes-tutorial, I'm discussing how to setup a Unity rig with IK handles and how to code up a basic autonomous script that moves the feet to follow the body at all time.

This Github repo contains an improved version of the script that is coded in the tutorial with optional smoothing using coroutines, and it also contains all of the assets shown in the demo images and videos :)

About

The code for a short tutorial on procedural animations and how to create them thanks to the Animation Rigging package in Unity/C# (available in text format).

https://minapecheux.com


Languages

Language:C# 100.0%