# Vinterp not working

**URL:** <https://forums.unrealengine.com/t/vinterp-not-working/483696>\
**Category:** Editor Scripting\
**Tags:** interpolation, unreal-engine, vector, question\
**Created:** [May 21, 2021, 1:58am UTC](https://forums.unrealengine.com/t/vinterp-not-working/483696 "2021-05-21T01:58:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BatYaggy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BatYaggy](https://forums.unrealengine.com/u/BatYaggy)\
**Post date:** [May 21, 2021, 1:58am UTC](https://forums.unrealengine.com/t/vinterp-not-working/483696/1 "2021-05-21T01:58:14Z")

</div>

I am trying to make a character VInterp into the air (about 400). The variable “Dash Goal” displays the correct vector which is in the air (verified by print string the z value is 400)). For some reason instead of being Vinterped into the air, the character drags along the ground to the location on the XY plane. I checked the vector outputted by the Vinterp and it is a number between 180 and 190 when it needs to be slowly vinterping towards 400. This has nothing to do with gravity as I disbabled it in the movement. It is clearly a problem with either the vinterp or my programming somewhere. Remember the variable that the actor is being vinterped to (dash goal) is correct but the output is not.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 21, 2021, 6:24am UTC](https://forums.unrealengine.com/t/vinterp-not-working/483696/2 "2021-05-21T06:24:23Z")

</div>

Is this running on Tick?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 21, 2021, 6:32am UTC](https://forums.unrealengine.com/t/vinterp-not-working/483696/3 "2021-05-21T06:32:17Z")

</div>

> Is this running on Tick?

If it is:

> For some reason instead of being  
> Vinterped into the air, the character  
> drags along the ground to the location  
> on the XY plane.

Knowing what Movement Component does to the character Z, that’d be the culprit. Call Jump when initiating the Dash:

 ![339329-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/1/051cbc22a4e35d82e1c0afa3eca54d6ba455b0d6.png)

* * *

At a later stage, in case you run into issues while _Setting Actor Location_, consider using _Add Movement Input_ / _Vector_ instead - a more natural way to move Pawns around.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [May 21, 2021, 6:36am UTC](https://forums.unrealengine.com/t/vinterp-not-working/483696/4 "2021-05-21T06:36:07Z")

</div>

And here’s a couple of other examples of how _dashing_ can be implemented:

- [Destroy wall with dash ability - Blueprint - Unreal Engine Forums](https://answers.unrealengine.com/questions/1014745/destroy-wall-with-dash-ability.html)

- [How to Charge/Dash forward along surface? - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/1010943/how-to-chargedash-forward-along-surface.html)
