# add movement input のworld direction のZだけ数値を入れても反応しない

**URL:** <https://forums.unrealengine.com/t/add-movement-input-world-direction-z/2223740>\
**Category:** 日本語 (Japanese)\
**Tags:** unreal-engine, question\
**Created:** [December 15, 2024, 11:29pm UTC](https://forums.unrealengine.com/t/add-movement-input-world-direction-z/2223740 "2024-12-15T23:29:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TORI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TORI](https://forums.unrealengine.com/u/TORI)\
**Post date:** [December 15, 2024, 11:29pm UTC](https://forums.unrealengine.com/t/add-movement-input-world-direction-z/2223740/1 "2024-12-15T23:29:51Z")

</div>

キャラクターを浮かせたいのですが、Zに数値を入れても何も起きません。

昨日始めた超絶初心者です。申し訳ない

 ![スクリーンショット 2024-12-16 054643](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/0/8f01b6365d5d38ffbc34d00a3fa98b22813111bc.png)

---

<div class="post-metadata">

**Author:** ![T\_Sumisaki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T\_Sumisaki](https://forums.unrealengine.com/u/T_Sumisaki)\
**Post date:** [December 16, 2024, 1:14am UTC](https://forums.unrealengine.com/t/add-movement-input-world-direction-z/2223740/2 "2024-12-16T01:14:24Z")

</div>

対象はCharacter（BP\_ThirdPersonCharacter）でしょうか？  
であれば、初期状態ではAddMovementInputで浮かせることはできません  
重力ですぐに下に下がるからです

CharacterMovementの `SetMovementMode` ノードを使い、モードを `Flying` に変更してみてください

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/e/afee7b142666279a00d1569491722c1c2987b610.png)
