Ue4 bone controller
-
Upload
tatsuya-iwama -
Category
Documents
-
view
309 -
download
9
Transcript of Ue4 bone controller
![Page 1: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/1.jpg)
UE4 BoneController
![Page 3: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/3.jpg)
DefaultPoseのアニメーションFBXを作成する
Boneを変更するには
アニメーション + Boneの変更
という扱いになるため、アニメーションが必要になる
デフォルトポーズ+Boneの変更
![Page 4: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/4.jpg)
DefaultPoseのアニメーションをImportする
①DefaultPoseのアニメーションをドラッグ&ドロップ ②Animationを選択
③アニメーションに対応しているSkeltonを選択
④Importをクリック
![Page 5: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/5.jpg)
AnimationBlueprintの作成①新規をクリック
②ブループリントをクリック
③Animation Blueprintをクリック
③対象となるSkeltonを選択
④OKボタンをクリック
⑤名前を設定[UnityChan_animeBP]
![Page 6: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/6.jpg)
Animation Blueprintの編集 手順1
①右クリック -> Add New State Machineを選択
②作成したStateを[Default]という名前に設定する(任意)
③DefaultとFinal Animation Poseをつなげる
![Page 7: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/7.jpg)
Animation Blueprintの編集 手順2
①ダブルクリック
②右クリック -> Add State
③作成したStateに名前を設定[BoneChange](任意)④EntryからBoneChangeに矢印を設定する
⑤BoneChangeをダブルクリック
![Page 8: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/8.jpg)
Animation Blueprintの編集 手順3
①AssetBrowserを選択
②DefaultPoseのアニメーションを選択してドラッグ
③右クリック -> Transform(Modify) Boneをクリック
④つなぐ
⑤つなぐ
![Page 9: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/9.jpg)
Animation Blueprintの編集 手順4
①AssetBrowserを選択
②DefaultPoseのアニメーションを選択してドラッグ
③右クリック -> Transform(Modify) Boneをクリック
④つなぐ
⑤つなぐ
![Page 10: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/10.jpg)
Animation Blueprintの編集 手順5
①Transform(Modify) Boneを選択
①Bone to Modifyで変更したい骨をリストから選択
![Page 11: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/11.jpg)
Animation Blueprintの編集 手順5
①Rotation Modeを BMM Addtiveに設定
②Rotationの Yに-45を設定
③Compileをクリック
④設定したRotationが確認できる
![Page 12: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/12.jpg)
AnimationBlurprintを設定する
①Levelのオブジェクトを選択
②Animation Modeを[Use Animation Blueprint]に設定
③Anim Blueprint Generatorを[Unitychan_animeBP]に設定
![Page 13: Ue4 bone controller](https://reader031.fdocument.pub/reader031/viewer/2022013115/55ab9a7d1a28ab067a8b484b/html5/thumbnails/13.jpg)
アニメーション設定後のRotation修正
※モデルによってはXYZのOderが異なるため、アニメーションを設定するとModelの向きが変わる
Unitychanの場合は Rotation Xに90を設定する。