Help with Line Graph Motion Paths
Sep 21, 2022
By
Ryan Govreau
In the attached story, I am attempting to build motion paths for the marker (red circle) to follow the line graph. At each of the indicated stops (blue circles), the state of a rectangle would change to provide information about the particular column.
At a minimum, I am looking for forward movement, though it would be nice to have backward movement as well. (Marker movement forward and backward.)
I have tried creating one solid motion path, with triggers set to intersect, as well as individual motion paths with relative starting points. I have not been successful with either method.
Was wondering if someone had any tips or even a sample file they could share where this was programmed successfully. I appreciate the help!
1 Reply
Each move along the line graph requires a differently shaped path, so I wouldn't use relative starting points.
I suggest you have 2 separate paths for each segment: 1 going forward, and 1 going backward. (Because, alas, there's currently no way to tell the program to retreat along a given motion path...)
To ensure the object follows the proper path when the PREV or NEXT button is clicked, you'll need to use a variable to track the current location and triggers with conditions that determine the proper path to take.
This post is about preventing relative paths from moving off the slide. However, it may give you some guidance for controlling paths using variables and conditions.
https://community.articulate.com/discussions/articulate-storyline/tip-prevent-motion-paths-from-moving-off-screen
And here are the User Guide articles with basic info about variables and conditions:
https://community.articulate.com/series/articulate-storyline-360/articles/articulate-storyline-360-user-guide-how-to-work-with-variables
https://community.articulate.com/series/articulate-storyline-360/articles/storyline-360-working-with-triggers#conditions