This commit is contained in:
syui 2025-02-19 11:55:10 +09:00
parent ec416bad65
commit ebb1af6a45
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 19 additions and 0 deletions

View File

@ -37,6 +37,7 @@
* [ocean waves](plan/03_ocean.md) * [ocean waves](plan/03_ocean.md)
* [nice interaction system](plan/04_item.md) * [nice interaction system](plan/04_item.md)
* [replicated interaction kit vol 3](plan/05_chair.md) * [replicated interaction kit vol 3](plan/05_chair.md)
* [dragon ik](plan/06_dragonik.md)
* [unity](unity/README.md) * [unity](unity/README.md)
* [blender](blender/README.md) * [blender](blender/README.md)
* [モデルをカスタマイズする](blender/01_model.md) * [モデルをカスタマイズする](blender/01_model.md)

18
book/plan/06_dragonik.md Normal file
View File

@ -0,0 +1,18 @@
# dragon ik
[dragon ik plugin](https://www.fab.com/ja/listings/d3f8d256-d8d9-4d27-91c1-c61e55e984a6)を使って、`chinese dragon`を動かします。
1. exampleを持ってくる。`DragonIK-ExampleProject/Content/`を自分のprojectの`$project/Content/`にcopyします。
```sh
$ git clone https://github.com/codehawk64/DragonIK-ExampleProject.git
```
2. plguinで`dragon ik`を有効にする。
3. `/Content/Maps/ChineseDragonSolver_Map`を開く。
4. `/Content/CharacterExamples/Quadruped/ChineseDragonSolverExamples/ChineseDragon2/ChineseDragon2_Control`を開いて編集する。
<iframe src="https://blueprintue.com/render/i9d2qt45/1" scrolling="no" allowfullscreen style="width:100%;height:400px"></iframe>
ue5では、"InputAxis Turn"は通常マウスの横方向の移動量を取得するために使用されます。これは、カメラやキャラクターの水平回転(ヨー)を制御するのに適しています。しかし、`不明な軸を...`というerrorが出るので、`Enhanced Input`を使います。
Enhanced Inputシステムを使用している場合、これは2D軸入力アクションとして設定できます2。この場合、X軸の値がTurnに対応し、Y軸の値がLookUp縦方向の視点変更に対応します。