This commit is contained in:
syui 2025-03-12 01:55:55 +09:00
parent c5a7296717
commit 4298a46da1
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
5 changed files with 19 additions and 2 deletions

View File

@ -14,10 +14,11 @@
* [揺れものを設定する](gasp/05_kawaii.md)
* [カメラワークの設定する](gasp/06_camera.md)
* [アニメーションを作成する](gasp/07_anim.md)
* [アニメーションを変更する](gasp/11_run.md)
* [niagaraでダメージを出す](gasp/08_niagara.md)
* [椅子に座る](gasp/09_chair.md)
* [階段に登る](gasp/10_stairs.md)
* [アニメーションを変更する](gasp/11_run.md)
* [武器を装備する](gasp/12_weapon.md)
* [control rig sample](crs/README.md)
* [CRでキャラクターを動かす](crs/01_character.md)
* [ボスを作る](crs/02_boss.md)

View File

@ -2,7 +2,7 @@
今回はダッシュ(sprint)で一定のスピード(speed)に達すると`kawaii_run`と名付けたアラレちゃん走りに切り替わるようにします。
<video src="https://git.syui.ai/ai/ue/raw/branch/main/issue/img/gasp_kawaii_run.mp4" width="100%" height="450px" controls muted></video>
<iframe width="100%" height="415" src="https://www.youtube.com/embed/HaykQT5vBNY?mute=1&rel=0&showinfo=0&controls=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
1. ABP_SandboxCharacterのAnimGraphを開きます。`cached pose`を作って処理を分割します。
2. cached poseを呼び出して`Layered blend per bone`のbaseにつなぎます。重要なのはLayered blendの詳細で`spine_03`のボーンを入れること。

16
book/gasp/12_weapon.md Normal file
View File

@ -0,0 +1,16 @@
# 武器を装備する
武器を手に持つ動作を追加します。
<iframe width="100%" height="415" src="https://www.youtube.com/embed/y5Cu3ZSWUkk?mute=1&rel=0&showinfo=0&controls=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
1. SKで`装備する箇所``手に持つ箇所`のソケット追加します。
2. そこにassetを追加し、previewします。
3. animを作ります。例えば、装備場所から手に持つ動作の中で剣が重なり合うようにします。
4. 重なる場所には通知で`DrawnWeapon`, `RestWeapon`を作ります。
5. それをIAに設定します。
## 他のキャラクターでズレてしまう
これはManny用のboneに設定されていますので、他のキャラではズレてしまいます。

Binary file not shown.