This is my tile that repeats itself to make the track endless. My problem is that whenever I switch lanes in game, it places me at the location of where the first was instead of the current track.
These are the locations of each spot on the tile where I want the character to move to. Before I noticed the problem where it would take me to the first tile, it would also move me to the left said of the track, meaning off to the left of Lane 0.
These are the variable representing the lanes in the ThirdPersonCharacter Blueprint. The Array Locations are the same as the Lane Locations I marked above.
@mightyenigma I watched my event graph fire off to ensure it was doing it in time in order to fire off the SetActorLocation node.Everything worked fine it that. So I’m wondering if it’s some sort of error in where it sets the actor.
So can you confirm that Lane Index is getting set by the Finish execution pin from the Timeline? My suspicion is that Lane Index does not get set, so it is always zero.
Yep, that proves well that it is NOT the problem I thought it was. It all looks like it should work. Maybe try ticking the Use Last Keyframe checkbox on the timeline.
I too have the same problem. For me it is switching correctly for couple of minutes and then it is slowly starting to move from the allocated position that is -320,0 and 320. What is the problem?