Hi all, I’m trying to make a “Temple Run” like game.
the character is set to move forward on “Event Tick” so it’s constantly moving forward.
I want the character to move 850 units to the right by pressing D and -850 by pressing A
This is my setup:
The setup for “A” key works fine, it moves the character by -850 units as I want to, however there is a sudden jump.
I thought I could solve this issue by creating a timeline so the value changes throughout a given time, however when I do it with the time line, (even though I don’t get the sudden jump) the character jumps to the right waaaaay too much!
and if i set a similar set up for “A”, then the characters movement to the left and right is not on equal amounts.
For example, if both A & D have the same set up with the timeline, if the character’s Y position is 0 and I press D, the character moves to the right by (from what I see) a random number, and when I press A, the character does not go back to 0, it goes to another random number.
Any ideas?
Thanks.