Racing line map
Hello community,
At the moment i'm trying to make a object in After effects follow a certain pattern/path, in order to make a smooth motion that corresponds to realistic speed intervals.
As seen on the picture, i have a background image, with the racing line in green/yellow/red, whether you should speed, brake or do nothing. However, i've attached the blue gokart to a null object, which i have tried my best to replicate the race lines path and by time. When i do it this way, it seem to me as it becomes quite laggy, so i was wondering if anyone could help me out on how to this in a easier and smoother way? I was wondering if you could make a timeless path, and make a object follow that path, with a variable speed that i can set/map out on the timeline? Or any other ideas?

In addition to this overview, beneath is a picture of the null object (which controls the gokart's position and orientation) which is mapped on the graph with the x and y-position of the object. Is there perhaps a way to use the graph to make smoother keyframes that make the gokart go around the track more smooth, yet still realistic as it should slow down the right amount when braking and speed in a increasing manner?

I use a video of one driving the course to match to the location on the track: Power racing Herlev - YouTube )

