This may be too easy for you, but here goes: I'm creating a kind of ski slalom game where I want the horizontal speed/direction to follow the attached graph. X is time, Y is horizontal speed. Positive horizontal speed makes my skier go right, negative horizontal speed makes the skier go left.
I want to be able to adjust the max speed (A), the time to maintain max speed (B), and the time it takes for the skier to make a turn (C).
What is the function for this? Thanks!
