アニメーション
- Mecanim
- レガシー (Unity 4 以前のアニメーション)
参考:
アニメーションシステム概要 | Unity マニュアル [公式]
使い方
参考:
Unity の Mecanim でキャラクターを動かす – Qiita
概要
参考:
.anim ファイルの作成や編集 Unityでキャラクターにモーションアニメーション (動き) をつける方法 | Mac アプリ開発ラボ (materializer.co)
アニメーションシステムの今と未来の話 | SlideShare
導入
参考:
Mecanimを使ってユニティちゃんを動かしてみた、で出た疑問点を解消していく | きききろく
アニメーションを再生する
参考:
Unity で animation をスクリプトで実行する | うさがにっき
Unity でアニメーションをもう一度再生する | 生存日記
3分でわかる!Unity のアニメーション (Animation) を再生する方法 | FREE SWORDER
Animator.Play | Unity Scripting API [Official]
Playing animation at the start – Unity Answers
Play animations manually from c# – Unity Forum
Unity Animator.Play how to transition to another animation at the same time – Stack Overflow
Unity Animation not working on different scene – Stack Overflow
遷移 (Transition)
現在再生中のアニメーションから次のアニメーションへと滑らかに遷移させる。
参考:
Unity の Animator の Transition を削除するには – Qiita
Deleting Transitions Mecanim – Unity Answers
How Do I Delete Transitions in the Animator State Machine? – Unity Answers
アニメーションをループさせる
Hierarchy ウィンドウで FBX モデルに関連付けられたプレハブを選択し、Inspector に表示される Import Settings の「Animation」タブの Clips のリストからループさせたいクリップを選択する。クリップのプロパティーで「Loop Time」を有効にすると、指定したクリップのアニメーションがループされる。
参考:
Blender で作成したアニメーションのループをなめらかにする方法 | XR-Hub
Animator で同一アニメを一定回数 loop してから別の state に遷移させる | ikoan unity 開発メモ
Unity のアニメータで1回だけアニメーションさせる | matudozer のアプリ作成日記
Animation タブ | Unity マニュアル [公式]
アニメーションクリップのループの最適化 | Unity マニュアル [公式]
Animation tab | Unity Manual [公式]
Loop optimization on Animation clips | Unity Manual [Official]
Animation Loop – Unity Answers
How to make an animation clip on Unity to loop – Stack Overflow
ディレイ/ウエイト
参考:
animation delay or wait – Unity Answers
How do I make a delay between animations? – Unity Answers
How to make a delay between animations in mecanim? – Game Development Stack Exchange
アニメーションの終了を判定する
参考:
Animation.IsPlaying | Unity Scripting API [Official]
Animation.PlayQueued | Unity Scripting API [Official]
Play and wait for Animation/Animator to finish playing – Stack Overflow
表情アニメーションを作成する/再生する
参考:
Unity-Chan は二度笑う ユニティちゃん表情モーション研究 その3 | きっポグ
Animator.Play | Unity で魔物使いゲームを作る
アニメーションのインポート
参考:
外部ソースのアニメーション | Unity マニュアル [公式]
Animation タブ | Unity 2018.4 マニュアル [公式]
Animation タブ | Unity マニュアル [公式]
アニメーションの抽出
インポートしたアニメーションを部分的に切り出して新しいアニメーションクリップを作成する。ただし、インポートしたアニメーションのプロパティを編集した場合、元の FBX ファイルを更新してもアニメーションが再インポートされなくなる。
アニメーションクリップが含まれた FBX ファイルを model_name@action_name.fbx
のように命名しておくと、モデルのメッシュとアニメーションが別々の FBX ファイルになったものを一つのモデルのアニメーションとして統合してインポートできる。(Preserve Hierarchy を有効にしておく必要あり)
参考:
アニメーションクリップの抽出 | Unity マニュアル [公式]
Animation タブ | Unity 2018.4 マニュアル [公式]
FBX importing split animations with @ naming convention not working – Unity Answers
Humanoid
参考:
作成した 3D モデルに Humanoid を適用させる | ななっしゅ
Humanoid をインポートするときの注意点 | socialakiba wiki
アニメーションクリップ
参考:
アニメーションクリップのプロパティを理解する | XR-Hub
アニメーションクリップを用いてオブジェクトを動かす方法 | XR-Hub
アニメーションクリップ | Unity マニュアル [公式]
Creating a new Animation Clip | Unity Manual [Official]
Animation ウィンドウ
モード
リスト表示部の下にあるボタンで切り替える。
- ドープシートタイムラインモード
- カーブタイムラインモード
ドープシートタイムライン
カーブタイムライン
参考:
知っておくと便利な Animation Window の操作 | テラシュールブログ
Animation ウインドウの利用法 | Unity マニュアル [公式]
アニメーションカーブの使用 | Unity マニュアル [公式]
Curves (カーブ) モードの主要操作 | Unity マニュアル [公式]
ドープシート
参考:
ドープシートモードでの主要操作 | Unity マニュアル [公式]
アニメーションカーブ
参考:
アニメーションカーブの使用 | Unity マニュアル [公式]
Curves (カーブ) モードの主要操作 | Unity マニュアル [公式]
リップル編集 (Ripple Editing)
参考:
Ripple (リップル) 編集 – ドープシートモード | Unity 2019.4 マニュアル [公式]
Ripple (リップル) 編集 – カーブモード | Unity 2019.4 マニュアル [公式]
クォータニオン/オイラー角
参考:
Quaternion でオブジェクトを回転させる方法 | XR-Hub
Unity の回転と向き | Unity 2018.4 マニュアル [公式]
キーフレームを複製する
参考:
How does one copy and paste keyframes in the Animation Editor? – Unity Answers
Timeline
参考:
ユニティちゃんを Timeline でアニメーションさせる | npaka
クリップの複製 | Unity マニュアル (2018.4) [公式]
Timeline | Unity Manual [Official]
ルートモーション
参考:
Unity の AnimationClip のルートモーションの設定 | かめくめ
ルートモーションの仕組み | Unity マニュアル [公式]
T ポーズ/デフォルトポーズ (T-Pose / Default Pose)
参考:
Unity のキャラの Prefab を TPose にする – Qiita
アニメーションオーバーライドによって中腰になってしまったアバターを直す方法 | hibit の技術系メモ
How do I force my character to a certain pose (T pose) in Unity 4 scene view? – Unity Answers
How can I set a default pose for my character? – Unity Answers
Tips to fix T-Pose? – Unity Forum
インバースキネマティクス (IK)
参考:
IK を使ってモーションの一部をオブジェクトに追従させる | LIGHT11
Unity で Humanoid の IK を使ってみる 1 | SAT-BOX BLOG
Humanoid の IK を使ってみる 2 | SAT-BOX BLOG
Humanoid の IK を使ってみる 3 | SAT-BOX BLOG
Override existing animation with IK! – Unity Forum
Get Hand Position and rotation while doing IK – Unity Forum
FBX ファイルのアニメーションを取り出して編集する
Project ウィンドウで FBX の内容を展開して表示し、アニメーションを選択して Ctrl
+ D
で複製を実行すると、データがコピーされて独立した別のファイルとして分けられる。
参考:
FBX に格納された AnimationClip を取り出し編集可能にする | テラシュールブログ
FBX から AnimationClip を取り出すエディタ拡張 | コガネブログ
FBX アニメーションデータを編集できるようにする | 頑張って続けます
Animation で Read-Only になってる時の解決法 | 趣が大事
How to add new curves or animation events to an imported animation? – Unity Answers
AnimationController にアニメーションを格納する
参考:
Unity の AnimatorController に AnimationClip を内蔵する | テラシュールブログ
Blender で作成したアニメーションを再生する
参考:
Blender でアーマチュアにアニメーションを設定したオブジェクトを Unity で再生 | COREVALE
アニメーションを他のモデルに使用する
参考:
Retarget Mocap Data To Game Characters – YouTube
How to transfer .FBX animations from one character to another? – Unity Forum
アニメーション形式を変換する
参考:
Converting (Unity Made) Generic Animation Clip to Humanoid Clip – Unity Forum
キーフレームリダクション
参考:
Unity でアニメーションのキーフレームリダクション | SEGA TECH Blog
Unity でアニメーションのサイズを小さくする | 生存日記
Keyframe Reduction? – Unity Forum
Skinned Mesh Renderer
参考:
Skinned Mesh Renderer | Unity マニュアル [公式]
Animator
参考:
Animator の個人的な逆引きリファレンス – Qiita
Unity の Animator の保存と再生の機能 | かめくめ
Unity の Animator を今さらながら触ってみた | vaguely
Animator コンポーネント | Unity マニュアル [公式]
Animator ウィンドウ | Unity マニュアル [公式]
AnimatorController
参考:
Unity の AnimatorController の使い方 | npaka
AnimatorController の使い方を解説 | STYLY
AnimatorController を用いたアニメーション切り替え方法 | XR-Hub
ユニティちゃんでもっと Animator Controller を上手く使いたい | Unity で魔物使いゲームを作る
アニメーターコントローラー | Unity マニュアル [公式]
Animation コンポーネント
**LEGACY**
参考:
Animation コンポーネントで Animation を管理する – Qiita
Animator を使わずに Animation 単体で再生する | かずおの開発ブログ
アニメーション | Unity マニュアル (2019.4) [公式]
UnityEngine.Animation | Unity スクリプトリファレンス [公式]
Access animation clip (by index or by name) – Unity Answers
Avatar Mask
参考:
Optimize Transform Hierarchy
参考:
Unity に配置したモデルをアニメーション向けに最適化する | テラシュールブログ
Mecanim
参考:
Unity の Mecanim でキャラクターを動かす – Qiita
Unity で動きのアニメーションを簡単に付けられる Mecanim の基本的な使い方 | @IT
アニメーションシステム概要 | Unity マニュアル [公式]
トラブルシューティング
参考:
「アニメーションが再生されない」「止まる」時の対処法 | テラシュールブログ
アニメーションエディターが重い
仕様なので諦めましょう。
参考:
Animation Editor Terrible Performance – Unity Forum
Animation Rigging
参考:
Animation Rigging | Unity Manual [Official]
Unity 2019.1 の Animation Rigging プレビューパッケージの概要 | Unity Technologies Blog [公式]
New Animation Rigging Preview Package Available For Unity 2019.1 | Unity Forum
比較
参考:
Unity のアニメーション方法検討 (Animator, SimpleAnimation, DOTween) – Qiita
AnimatorTransitionShortcuts
参考:
GhatSmith/AnimatorTransitionShortcuts – GitHub
Ctrl + T や Alt + T で Animator のステートのトランジションを作成できるAnimatorTransitionShortcuts 紹介 | コガネブログ
AnimationCurveCopyPaste
参考:
AnimationCurve をコピペできるようにするエディタ拡張 Copy-Paste AnimationCurves 紹介 | コガネブログ
AnimationCurveDrawer.cs
参考:
AnimationCurveDrawer.cs – GitHub Gists
Inspector で AnimationCurve をコピー・ペーストできるようにするエディタ拡張 | コガネブログ
AnimationSplitter.cs
Unity で anim ファイルを指定秒数で分割して出力するエディタ拡張
参考:
AnimationSplitter.cs – GitHub Gist
AnimationCurveTools
参考:
How to Copy mecanim curve? – Unity Answers
Repair Animation Tool
参考:
Repair Animation Tool | Unity Asset Store [Official]
Animation Curve Rebinder – Fixing animation without text editor – YouTube
Animation Hierarchy Editor
参考:
Animation Hierarchy Editor | Unity Asset Store [Official]
Simple Bones Animation
参考:
Simple Bones Animation | Unity Asset Store [Official]
Simple Bones Animation – YouTube
Very Animation
参考:
Very Animation | Unity Asset Store [Official]
Very Animation | AloneSoft [公式]
Unity 上でアニメーションの編集や新規作成が出来る Very Animation | kan のメモ帳
Unity でも MMD のようにラクラクモーション作成できる Very Animation の使い方 | Mac アプリ開発ラボ (materializer.co)
他のエディタより使いやすい!と評判のアニメーション編集エディタ Very Animation 現時点で搭載されている機能まとめ 前編 | Unity AssetStore まとめ
Very Animation Quick Start – YouTube
UMotion
参考:
UMotion Community | Unity Asset Store [Official]
UMotion Pro | Unity Asset Store [Official]
UMotion Pro で荒ぶるモーキャプデータを修正!編集!| kyusque’s blog
UMotion の導入 | ForgeVision Engineer Blog
UnityEditor 上のモーション作成、編集アセット UMotionPro の良い点とかを書く – Qiita
Editing Existing Animations – UMotion In Practice – YouTube
Puppet3D
参考:
Puppet3D | Unity Asset Store [Official]
Puppet3D キャラクターを操り人形のようにポージングしてアニメーション作りを可能にする新作アセットが登場!| Unity AssetStore まとめ
IK Helper Tool
参考:
IK Helper Tool | Unity Asset Store [Official]
IK Helper Tool 1.1 Update – YouTube
Final IK
参考:
Final IK | Unity Asset Store [Official]
Auto Hand
参考:
Auto Hand – VR | Unity Asset Store [Official]
Mecanim Control
参考:
Mecanim Control | Unity Asset Store [Official]
Mecanim Control | Universal Fighting Engine [Official]
UFE Tutorials: Mecanim Animations – YouTube
Animator Toolkit
参考:
Animator Toolkit | Unity Asset Store [Official]
Super Animator
参考:
Super Animator | Unity Asset Store [Official]
Mesh Assembler
参考:
Mesh Assembler | Unity Asset Store [Official]
Animation Convert Tool
参考:
Animation Convert Tool | Unity Asset Store [Official]
Animation Converter
メニューから「Window > Animation Converter」を開く。
参考:
Animation Converter | Unity Asset Store [Official]
Animation Converter | Unity Forum
Animation Converter Tutorial 1 – YouTube
Animation Converter Tutorial 2 – YouTube
SkinnedMesh Baker
参考:
SkinnedMesh Baker | Unity Asset Store [Official]
Mesh Animator
参考:
Mesh Animator | Unity Asset Store [Official]
Mesh Animator Documentation | Jacob Schieck
Mesh Animator 2.0 Walkthrough – Massive Unity crowds and GPU Instancing – YouTube
GPU Animation Baker Pro
参考:
GPU Animation Baker Pro | Unity Asset Store [Official]
GPU Instancer / Crowd Animations
参考:
GPU Instancer | Unity Asset Store [Official]
GPU Instancer – Crowd Animations | Unity Asset Store [Official]
Simple Mesh Distortion
参考:
Simple Mesh Distortion: Animated GPU deformations | Unity Asset Store [Official]