Compare commits

...

2 Commits

Author SHA1 Message Date
704dc78e86
fix 2025-02-19 11:58:22 +09:00
ebb1af6a45
fix 2025-02-19 11:55:10 +09:00
2 changed files with 21 additions and 0 deletions

View File

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

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

@ -0,0 +1,20 @@
# 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`を使います。ここではGASPの`/Content/Input/IMC_Sandbox`を使用します。
Enhanced Inputシステムを使用している場合、これは2D軸入力アクションとして設定できます。この場合、X軸の値がTurnに対応し、Y軸の値がLookUp縦方向の視点変更に対応します。