# Launch character to a target location

**URL:** <https://forums.unrealengine.com/t/launch-character-to-a-target-location/479050>\
**Category:** Character & Animation\
**Tags:** projectile-movement, unreal-engine, question\
**Created:** [February 19, 2021, 12:44pm UTC](https://forums.unrealengine.com/t/launch-character-to-a-target-location/479050 "2021-02-19T12:44:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [February 19, 2021, 11:03pm UTC](https://forums.unrealengine.com/t/launch-character-to-a-target-location/479050/4 "2021-02-19T23:03:11Z")

</div>

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://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/d/7cd2352f3a674282c06c935baac0e7af12e73abb.gif)](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 Scroll: adjust the apex of the set jump
- 1: Execute jump

I’ve added comments where I believe it made sense. Do tell if anything else makes little sense. Not attaching screenshots due to time constraints. Here’s a project link, though:

> **[leap.zip](https://drive.google.com/file/d/1mPdzx0yHaXUx_apOBU5bWnKvD4C8PU83/view?usp=sharing)**
>
> Google Drive file.

All script is in the character blueprint, the yellow bit:

 ![330332-yellowbit.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/9/849b550fca9411dd6a7419b3105f3b412ab72a35.jpeg)

---

_[View the full topic](https://forums.unrealengine.com/t/launch-character-to-a-target-location/479050)._
