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…
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.
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.
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.