しめ鯖日記

swift, iPhoneアプリ開発, ruby on rails等のTipsや入門記事書いてます

Unityで筋肉質な男性に女子っぽい動きをするアニメーションを付けてみる

Unityで新規プロジェクトを作成、AssetStoreからBase manとUnity-chanという2つの無料Assetsをインポートします。

f:id:llcc:20160128232750p:plain
f:id:llcc:20160128232847p:plain

baseMaleのAnimation TypeをHumanoidにします。

f:id:llcc:20160128234216p:plain

次にbaseMaleをHierarchyに移動して画面に表示させます。

f:id:llcc:20160128233147p:plain
f:id:llcc:20160128233238p:plain

次にProjectビューの Create → Animator Controller でAnimator Controllerを作成します。

f:id:llcc:20160128233406p:plain

そのAnimatorをオープンしてCreate State → Empty を選んで空のStateを作成します。

f:id:llcc:20160128233441p:plain

そのStateにUnityちゃんのフォルダにあるWIN00を紐付けます。

f:id:llcc:20160128233800p:plain

次にbaseMaleにAnimator Controllerを紐付けます。

f:id:llcc:20160128233840p:plain

これで位置を調整して実行するとUnityちゃんっぽい動きをする筋肉質な男性を作る事ができます。

f:id:llcc:20160128234422g:plain