Rotating on central axis with animation - Why state is being skipped
For those who have implemented rotating objects in Storyline 2, I'm hoping someone can share some knowledge. Been attempting to solve this brainteaser for a while now and am running out of ideas.
This is just a demo, and trying to get the rotating mechanic down before applying it to a project. Keep in mind the black numbers (1,2,3,4) are only there to show up/down orientation of the object when it turns.
The cool, original idea on how to spin/rotate an object (on central axis point) came from this post! It included a windmill sample from Mike Enders using buttons to change the states to show rotating. Each state contains a quarter-turn Animation.
I added onto this - by including triggers that hide/reveal the buttons as the object turns (this is for a simulation purpose to better show the points of turning if the object is held in someone's hands). An SL2 sample is attached to give the idea.
There's 4 states with quarter-turn animations applied. The first four spins with quarter-turns work nicely.
On attempting to get an object to spin around and keep on rotating after the 4th turn (after full 360 degree turn).. that's where it's going wrong.
Basically after the fourth button "Spin 4" is pressed... the"Spin 1" button is set with a trigger to become visible/active again (to allow continued quarter-turns of the object however many times the learner wants). Currently the trigger attached to Step 1 button tells the Object to change back to State 1 again.
Logically it made sense to change back to State 1 for it to do the first quarter-turn animation again. However, it doesn't appear to be working right.
Instead of playing State 1, it instead appears to skip over State 1, and jump to State 2.
If anyone has any idea why this happens, please share! Or if there are other workarounds to do continuous rotations, they are definitely appreciated as well. Unsure if it's something in SL2 causing it to skip over the state 1, or if the trigger logic just isn't set up right?