# Calculate velocity between two points

**URL:** <https://forums.unrealengine.com/t/calculate-velocity-between-two-points/1238458>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 24, 2023, 10:54am UTC](https://forums.unrealengine.com/t/calculate-velocity-between-two-points/1238458 "2023-07-24T10:54:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Sergey547](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sergey547](https://forums.unrealengine.com/u/Sergey547)\
**Post date:** [July 24, 2023, 2:57pm UTC](https://forums.unrealengine.com/t/calculate-velocity-between-two-points/1238458/3 "2023-07-24T14:57:52Z")

</div>

> [@Launch character to a target location](https://forums.unrealengine.com/t/launch-character-to-a-target-location/479050/4):
>
> I’ve added a couple of bells & whistles, some much needed control, limiters to keep things in check and variables to parametrise it: [[Image from Gyazo]](https://gyazo.com/b9d49c7779bc499909bee261092ebd53) The general idea: we generate a spline between us and the click location with the mid point elevated we use a timeline to project a point along the spline over the timeline duration we adjust player velocity so it chases that point closely In short, it’s a glorified rubberband that works surprisingly well. LMB: set landing location Mouse S…

Thank you a lot!!! 👍

---

_[View the full topic](https://forums.unrealengine.com/t/calculate-velocity-between-two-points/1238458)._
