I have a svg of a isometric world with roads and whatnot. I want to have vehicles driving around set paths. I was thinking of using MotionPathPlugin. Because of the perspective I can't use autorotate and the roads are all at 90 degrees angles from each other. In my svg I have groups for all the vehicles, and within the group I have two subgroups, one for `down` and one for `up`. The `green-truck` is what I want to animate along a path.
I was thinking to attach some sort of event to the path tween whenever a new path point is hit, in this event check if the next path destination is
1 . higher (north) than the current one (meaning nextY is less than currentY), in that case show only `-up`. if not, show `-down`
2. to the left (west) of the current one (meaning nextX is less than currentX), in that case flip the image horizontally such that the vehicle faces left
However, I could find no such events in the documentation.