# Controlling a floating/hovering pawn from BTs

**URL:** <https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 8, 2015, 9:11pm UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111 "2015-06-08T21:11:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f3fb80e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Post date:** [June 8, 2015, 9:11pm UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/1 "2015-06-08T21:11:25Z")

</div>

Some of the pawns in my game are hovering (floating) a bit over the ground. That “hover” feeling is achieved by using a force on the Z axis, as described in the [official tutorial video](https://wiki.unrealengine.com/Videos/Player?series=PLZlv_N0_O1gYeJX3xX44yzOb7_kTS7FPM&video=5kltaGld6fQ). To stick to that feeling I want to control movement for these pawns also with forces on the X and Y axes. Like an Arcade version of a (small, maybe remote-controlled) plane.

Now I want to make use of Behaviour Trees for controlling these pawns. From various forum threads and questions here I saw that apparently there is no support in UE4.7 (yet) to fully control pawn movement via BTs, only for characters. It seems there might be a floating movement component coming soon for pawns, but apparently not yet in 4.7.

So I have two questions:

1. What is the best way in current UE4 version to control pawn movement via BTs?
2. How can I make use of forces to control pawn movement, as described above?

Thanks in advance for your help!

PS: I would prefer a Blueprint-based solution, but C++ is fine as well if that is the only option.

---

<div class="post-metadata">

**Author:** ![Brainshack](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brainshack](https://forums.unrealengine.com/u/Brainshack)\
**Post date:** [June 9, 2015, 7:27am UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/2 "2015-06-09T07:27:39Z")

</div>

You are always able to write your own BT Tasks, so you could easily implemnt this yourself.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f3fb80e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Post date:** [June 9, 2015, 11:56am UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/3 "2015-06-09T11:56:53Z")

</div>

That’s true, but what about the issue with controlling movement of a pawn (instead of a character)?

---

<div class="post-metadata">

**Author:** ![Brainshack](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brainshack](https://forums.unrealengine.com/u/Brainshack)\
**Post date:** [June 9, 2015, 11:59am UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/4 "2015-06-09T11:59:02Z")

</div>

Since you have a pretty Special case of Movement, it is probably best if you wirte you own Movement component that applies forces to your pawn, based on input on each tick.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f3fb80e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Post date:** [June 9, 2015, 12:00pm UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/5 "2015-06-09T12:00:49Z")

</div>

Yeah I am thinking about that. I was hoping though that could be combined with pathfinding and navigation somehow …

---

<div class="post-metadata">

**Author:** ![ollyryder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ollyryder](https://forums.unrealengine.com/u/ollyryder)\
**Post date:** [May 3, 2017, 4:24pm UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/6 "2017-05-03T16:24:34Z")

</div>

Serious necro here, but did you ever find a way to do this? I have a very similar problem to you (pawns that move by having forces applied to them) but unfortunately no knowledge of C++.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f3fb80e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Post date:** [May 3, 2017, 7:36pm UTC](https://forums.unrealengine.com/t/controlling-a-floating-hovering-pawn-from-bts/321111/7 "2017-05-03T19:36:38Z")

</div>

Yeah we ended up with a custom C++ component, that sets the location of the controlled pawn directly on all three axis …
