Forum Discussion
Object Movement using states, swiping/dragging and random selection (Moving objects out of the way)
Hello Billi!
I would love to give this a shot. I have attached the same story file with the changes I did which hopefully work for you. If I understand correctly, A motion path is triggered by the user, then the state of the object changes to the next image when it reaches the endpoint, and so on.
The first trigger is to start the initial animation of the object, then change the state to the next image once the first animation completes. To initiate the succeeding animations without resetting the state of the object, I added a condition to start the next animation when the user clicks and the current state of the object.
Here's the first set of triggers I added.
Once the object completes the first motion path animation, I added these triggers with a condition. I added this condition so the object doesn't go back to the first animation.
We'll need to add a new motion path for each image state you want to use, as well as these triggers so the object can successively update states up to the last image.
Hope you can find this useful, Please let me know if you have questions.
Cheers!
Related Content
- 4 months ago
- 20 days ago
- 2 months ago