x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to Move Right or Left between three lanes while running forward?

Hello everyone... i want to know how to move righe or left between three lanes while running forward... I have tryied a lot of diferrent ways but i dont get yet the result im looking for.. I apreciate every help you could give me.. alt textalt text

Product Version: UE 4.18
Tags:
more ▼

asked Dec 29 '17 at 03:36 AM in Blueprint Scripting

avatar image

fuadpumarejo
1 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

there are a whole bunch of ways to approach this, depending on your gameplay... but the simplest way, if the lanes don't change position, relative to the player and to each other, you could just use Set Location... and use Vinterp (or Finterp) (or a Lerp with Ttimeline) to interpolate move smoothly between the old and new location.

more ▼

answered Dec 29 '17 at 06:13 AM

avatar image

aNorthStar
1.1k 9 17 21

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

there are a whole bunch of ways to approach this, depending on your gameplay... but the simplest way, if the lanes don't change position, relative to the player and to each other, you could just use Set Location... and use Vinterp (or Finterp) (or a Lerp with Ttimeline) to interpolate move smoothly between the old and new location.

more ▼

answered Dec 29 '17 at 06:14 AM

avatar image

aNorthStar
1.1k 9 17 21

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey there, the best solution depends on the configuration of the lanes. If its only forward you can do this with a root motion animation, that way the capsule will move while he's doing the transition animation. If you want to keep it simple and not have an animation you can do this with a simple VInterp where you get your current location and interpolate it to the position of the new lane. If you have curves you can still use VInterp but you might need to use splines to determine the right position mid curve.

more ▼

answered Dec 29 '17 at 12:47 PM

avatar image

xlar8or
6k 163 130 305

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question