Hi im trying to make an objects speed increase slightly when left moving in one direction after say 2 3 seconds it will then revert back to original speed when direction is changed? it may be simple but having hard time trying to do the math.
Think Im a missile il move forward/up after 3 seconds my speed will increase but if i suddenly change direction my speed reverts back to say start speed which is 1. Not asking for the code just a hint or something to set me on right track as this is a massive part of the gameplay im going for as simple as it may sound.