# I need directions of how to set up a dash step. I know I need a reference for player one and player two. However, I'm not experienced with the nodes to go any farther than that. help

**URL:** <https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [October 28, 2024, 4:33am UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792 "2024-10-28T04:33:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 28, 2024, 4:33am UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/1 "2024-10-28T04:33:45Z")

</div>

My idea is to get the distance of the second player and then with that variable I’ll be able to somehow get the first player to move on the side based on the second player distance.  
This is just a rough image of how this should look like.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/9/32961b277844d17f48f82e0d0788891f1b6441d2.jpeg)

I’m still trying to be familiar with all the nodes

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [October 28, 2024, 10:53am UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/2 "2024-10-28T10:53:49Z")

</div>

You can add a spline component to the player character like this:

 ![Screenshot 2024-10-28 131821](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/9/74939f9f5a38aa0648114e2dd1e8535b575f4f22.png)

It can also be it’s own actor but let’s keep it simple. Once it’s placed, add 3 more spline points by hitting Alt while dragging a point, making 5 points in total.

Also don’t forget to add this to Begin Play:

 ![Screenshot 2024-10-28 131957](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/5/ed5f1909e9f3b93df1d3dd869dce95c855fcf9c1.png)

Then you can bind the action to a custom event like this:

 ![Screenshot 2024-10-28 142735](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/8/3a81e56320f11c9548914fac5620dfae26c00cca.png)

_(You can set the default value of the variable called “Dash Distance” to a desired value, but **do not** adjust any other values)_

Here’s the rest of the code that’s connected to Event Tick:

 ![Screenshot 2024-10-28 135928](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/c/51c85024a5829ca06c18decb2b6deea47b45c6df.png)

Call that custom event after an input action to actually trigger it.

And here’s the result:

Hope this helps! 😇

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 28, 2024, 2:46pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/3 "2024-10-28T14:46:19Z")

</div>

So the only thing I need to do is move the actor with the spine, making it look like the character is moving to the side. right?

Also yeah, this is so helpful. I actually got a reference I can work on and learn from. You be surprised how many people will just throw tutorials at you and think that it’s helpful… It’s not helpful. Thank you.

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [October 28, 2024, 3:11pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/4 "2024-10-28T15:11:59Z")

</div>

> [@LoadCreator](#):
>
> making it look like the character is moving to the side

It’s not just the visuals, the character is quite literally moving 😊

You can also constanty set the world rotation of the player character to make it focus on the other player by adding the Set Actor Rotation node after the Event Tick as well, and play another animation for the duration if you want!

* * *

> [@LoadCreator](#):
>
> You be surprised how many people will just throw tutorials at you and think that it’s helpful… It’s not helpful.

I do that too, there can be many reasons for that. My previous post wasn’t just an acceptable post, I went beyond what was necessary. We can’t expect others to solve our own issues while we’re not putting in effort ourselves, right? A guidance would suffice. Don’t get me wrong, I didn’t mean to accuse you of that but just wanted to clarify this due to the sentence that I quoted above.

> [@LoadCreator](#):
>
> I actually got a reference I can work on and learn from.

It’s not a reference btw it’s the full code 🤣

But of course you probably had other things in mind to add on top of that, right? To achieve those, you’d need to actually understand the logic that’s going on in my approach. It would definetly be better for you if you take a look at it yourself first, but if you can’t make sense of it, you can ask me to explain it! 😇

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 28, 2024, 3:37pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/5 "2024-10-28T15:37:29Z")

</div>

Yeah, I realize my mistake when I say reference.

And definitely, I will be coming back asking questions after I add this to my project. To get better with nodes I am writing down notes explaining how every node work and why does it work.

People want me to go back to the basics but I already went there multiple times and now I just need to work on a project. But I noticed that there are things that not even tutorials teach you about.

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 28, 2024, 8:59pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/6 "2024-10-28T20:59:42Z")

</div>

I’m having problems finding this node

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/3/b03317ecf9fcbcc56f363a331e353a31663db11e.png)

Is this node the same thing?  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/c/f1c2cff7cb86ad72e4705048506083c1d6c0e456.png)

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [October 28, 2024, 9:04pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/7 "2024-10-28T21:04:21Z")

</div>

Yep 😊

You can split those yellow and purplish-grey pins by right clicking on them respectively, and clicking the `Split Struct Pin` option on the menu that pops up

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 29, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/8 "2024-10-29T15:51:38Z")

</div>

I swear that was the first thing I did but it did not work, it was getting me more input that was yellow. now I feel stupid

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [October 29, 2024, 3:58pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/9 "2024-10-29T15:58:51Z")

</div>

![Screenshot 2024-10-29 190012](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/7/60770e83760c2f1d6bc55a184dd0f660266f7aad.png)

🙂

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 29, 2024, 4:05pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/10 "2024-10-29T16:05:23Z")

</div>

yeah, that’s the first thing I did

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [October 29, 2024, 4:08pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/11 "2024-10-29T16:08:06Z")

</div>

Can you share a video showcasing what you did?

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 29, 2024, 4:09pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/12 "2024-10-29T16:09:47Z")

</div>

it’s okay now, I got it. And I doubt I can redo my mistakes now

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 29, 2024, 5:01pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/13 "2024-10-29T17:01:39Z")

</div>

I forgot the name of this one and I try to find it with the other operator nodes but it wasn’t there  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/9/f592ee1793ac016ef61565772dbdf9038293081b.png)

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [October 29, 2024, 5:15pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/14 "2024-10-29T17:15:39Z")

</div>

It’s name is equal exactly but you can just search for “===”

I was expecting follow up questions on the logic actually. Please consider doing more research before posting these kind of questions. That would also be better **for you** since you’d actually learn and improve that way. 😊

Please don’t get me wrong, I love helping! I’m saying this because I want you to learn fishing rather than expecting others to provide you fish. I hope you get my point.

---

<div class="post-metadata">

**Author:** ![LoadCreator](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loadcreator/32/916252_2.png) [@LoadCreator](https://forums.unrealengine.com/u/LoadCreator)\
**Post date:** [October 29, 2024, 5:38pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/15 "2024-10-29T17:38:25Z")

</div>

Yeah, that’s what I did. I am familiar that code existing but I can never know the name of it and when I try to look it up I couldn’t find anything on it like its name. I even ask a friend who went to college for coding and he said “What am I looking at”. you were the last person I asked, and I really did not want to ask you because I don’t want you to think I’m asking you for every little detail. A lot of people already did this to me, LOL. They even say it in a nice way with a smile emoji. Not trying to be mean or anything like that, I’m just saying this is very common.

But yes. the plan was to ask you about how these logic work together in more details, but after I went through research myself and trying to figure out what I can learn from this on my own

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 28, 2024, 5:38pm UTC](https://forums.unrealengine.com/t/i-need-directions-of-how-to-set-up-a-dash-step-i-know-i-need-a-reference-for-player-one-and-player-two-however-im-not-experienced-with-the-nodes-to-go-any-farther-than-that-help/2091792/16 "2024-11-28T17:38:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
