Announcement

Collapse
No announcement yet.

Dash over distance - Not working

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • started a topic Dash over distance - Not working

    Dash over distance - Not working

    Hey guys,
    I want to dash over a specific distance (say 500 units) so I created following BP (picture).
    But when I try to dash I get an error saying: "Infinite Loop detected"

    My idea is to: -set starting position -> Launch for dash -> set current position -> get distance -> while distance < 500 -> update current position -> completed: stop movement

    Somehow I made a probably obvious mistake in this BP but I cant figure out what is wrong :/

    Thanks for helping

    Btw: if you know a better way to dash over a given distance pls let me know. (Already tried Set Actor Location which works fine but I don't like that it is immediately.)
    Dash over distance - Infinite Loop

  • replied
    Originally posted by One Mode Only View Post
    You can simply do a "move component" on your capsule. It already has easing in and easing out. It also will allow you to move over a certain period of time. It's perfect for dashes and the like.
    Perfect exactly what I was looking for Thank you very much

    Leave a comment:


  • replied
    You can simply do a "move component" on your capsule. It already has easing in and easing out. It also will allow you to move over a certain period of time. It's perfect for dashes and the like.

    Leave a comment:

Working...
X