# Flying character velocity is auto-decreasing

**URL:** <https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794>\
**Category:** Character & Animation\
**Tags:** flying, unreal-engine, velocity, question\
**Created:** [June 14, 2015, 6:51pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794 "2015-06-14T18:51:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveL88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveL88](https://forums.unrealengine.com/u/DaveL88)\
**Post date:** [June 14, 2015, 6:51pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/1 "2015-06-14T18:51:10Z")

</div>

Hey, so i want to make a flying character for a horizontal shoot em up. The speed of the character is supposed to be the same, and the ship itself should be able to move inside the screen bounds.

I can not seem to figure this out. Currently I have the following character set up:

 ![46345-screenshot+character.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/e/79eade86f415aefcc8aa902262608f87e1849a20.jpeg)

Problem: The character movement → Velocity keeps decreasing. I set the velocity to 1500 at the event begin play, and from there on it just keeps decreasing. Why is that?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Vita\_Cordes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vita\_Cordes](https://forums.unrealengine.com/u/Vita_Cordes)\
**Post date:** [June 14, 2015, 7:40pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/2 "2015-06-14T19:40:47Z")

</div>

I’m no expert at this. But just a moment ago I was investigating flight along path. Came across this, sounds exactly like your problem.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/f/cbf20c7e2c69fbc53a654a73ce790fcd852a91c5.jpeg "Unreal Engine 4 Flying AI Project Path Following") ](https://www.youtube.com/watch?v=G5bJP5Nr88o)

---

<div class="post-metadata">

**Author:** ![DaveL88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveL88](https://forums.unrealengine.com/u/DaveL88)\
**Post date:** [June 15, 2015, 4:42pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/3 "2015-06-15T16:42:15Z")

</div>

Thanks for your awnser, although this does not directly help me with my problem of decreasing velocity this looks useful for creating flying AI. Which I will also have to do 😃

I will check the content from the flying template. Maybe that helps ;).

---

<div class="post-metadata">

**Author:** ![DaveL88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveL88](https://forums.unrealengine.com/u/DaveL88)\
**Post date:** [June 20, 2015, 3:13pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/4 "2015-06-20T15:13:16Z")

</div>

I fixed it by setting the velocity of my character movement component every tick. This is not optimal i guess, but works. The Camera has a steady velocity now, and I use “add local offset” on my mesh to make the mesh move in relation to the camera etc.

Cheers

---

<div class="post-metadata">

**Author:** ![Metallkiller\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Metallkiller\_1](https://forums.unrealengine.com/u/Metallkiller_1)\
**Post date:** [June 29, 2015, 12:23pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/5 "2015-06-29T12:23:20Z")

</div>

The CharacterMovement object has a value “Character Movement: Flying” → “Braking Deceleration Flying”, make sure it’s set to 0, otherwise that’s the problem you’re encountering.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_415849b71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_415849b71](https://forums.unrealengine.com/u/anonymous_user_415849b71)\
**Post date:** [October 27, 2015, 3:43pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/6 "2015-10-27T15:43:59Z")

</div>

But that does not work.  
It’ll always decelerate somewhat even if i set it to 0. ☹

---

<div class="post-metadata">

**Author:** ![RynerAJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RynerAJ](https://forums.unrealengine.com/u/RynerAJ)\
**Post date:** [October 27, 2015, 3:55pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/7 "2015-10-27T15:55:20Z")

</div>

Hi, I would suggest using projectile movement, instead of character movement. Do set the projectile gravity scale to 0 thou if you want to try it.

---

<div class="post-metadata">

**Author:** ![MohammedB00m](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MohammedB00m](https://forums.unrealengine.com/u/MohammedB00m)\
**Post date:** [August 3, 2022, 8:55pm UTC](https://forums.unrealengine.com/t/flying-character-velocity-is-auto-decreasing/321794/8 "2022-08-03T20:55:20Z")

</div>

> [@anonymous\_user\_415849b71](#):
>
> 0

okay i know a little late but…  
i like to help any one who has the same problem…  
to disable this decrease in velocity u need to set LinearDamping parameter to 0 in physics part  
and if u are in cpp u can use UPrimitiveComponent::SetLinearDamping function to do that
