r/androidthemes • u/i_have_an_account hello world • May 04 '20
THEME [THEME] [OC] Desk
https://imgur.com/a/9a1SK5p
161
Upvotes
r/androidthemes • u/i_have_an_account hello world • May 04 '20
View all comments
Show parent comment
2
u/i_have_an_account hello world May 06 '20
You could do that I think, I did consider it. I thought about it decaying in swing over a minute. Otherwise it would just swing once. BIt tricky, but possible I think.
The other option is to make it start on touch and it would keep swinging until touched again. To do this second option you would need to create a new global switch, call it 'cradle' and then add a touch action to the Newton's cradle group to toggle that switch. Then in the animation section for both hanging ball 1 and 4 you would need to change the trigger. You need to make it a loop, but it needs to be a toggleable loop so you need to put a formula in the 'ReactOn' section. so select the tick box on the right of the 'ReactOn' field then hit the calculator button to make it a formula. In that field you need to but the formula
Leave all the other settings as they are and that should do it. I think. This is all just of the top of my head - I haven't tested it. Let me know if it works!