Forum Discussion
Making an item spin on a central axis
Good afternoon everyone, I'm currently working on a course where I'm trying to make a circular diagram spin on a central axis. It needs to rotate 90° after click on a trigger, four times until it's back into it's original position.
Anyone have any idea how I could do this? I guess the answer will be motion path, however I can't seem to figure out how to make the rotate rather than move in a circle.
47 Replies
- AntPughCommunity Member
Thanks guys for the responses guys!
- MichaelHinzeCommunity Member
- PeterMattssonCommunity Member
This is exactly what I'm trying to solve. How did you do this. I can't find your description cause the link is "broken"
- MichaelHinzeCommunity Member
Here is the direct link to my brief blog post: http://blog.keypointlearn.com/2015/09/17/rotating-objects-in-articulate-storyline-an-experiment/
- ChristiePollickCommunity Member
Thanks so much for your contribution, Michael! :)
- PeterMattssonCommunity Member
Thanx!
I will try to figure out how you did this with the triggers and so on ...
Glad you got the help you needed Peter, let us know if you need anything else.
- ChristiePollickCommunity Member
Thanks for helping Jennifer out here, Michael! And Jennifer, please feel free to let us know if that is what you had in mind or if you would still like further assistance.
- JenniferSaderCommunity Member
Yes, thanks, I was able to build something similar using a moving object that was the same color as the background so as not to distract.
- ChristiePollickCommunity Member
Sounds like a great solution, Jennifer! We appreciate the update. :)
- SubhashisPattadCommunity Member
Hello..
After some experiments based on the methods shown by Mike, Trina & Michael, I came up with this method to simply it further. Hope this helps.Basic is same - A shape with 3 sec spin. It has 2 more states - S1 & S2 with 3 sec spin each. Now instead of the box & motion path, I have used JavaScript to change the variables at 3 sec intervals and added trigger to change states when the variables change.
- AmyLeeloCommunity Member
Do you know how to make the spin go longer than the three seconds?
- ChristiePollickCommunity Member
Many thanks for sharing your example, Subhashis! I did want to note for anyone who may not be aware... should you decide to utilize JavaScript, unfortunately, that is an area for which we would not be able to provide support. Here is also our JS Best Practices sheet for those who many like to review it. :)
- MichaelHinzeCommunity Member
In my example, the SpinCount variable is a custom variable that is 'driven' by an offstage object (see screenshot). This offstage object has a looped motion path animation. Everytime this animation completes, the variable is increased and based on that, the state of the spinning windmill is changed.
Related Content
- 3 months ago
- 6 months ago