creating a round animation with panels [resolved]
Quote from djokoss22 on June 6, 2011, 12:12 pmhello all !
i'am jo from belgium and i'm trying to make round animation with panels when i walk through a trigger.
sorry for my bad english.i'll explain you:
i have 9 pannels in line one beside the other and i would like animate repeatly those ones.
i would start to animate the 1st, after 0.20 sec the seconde, after 0.40 the third, .......
and comming back after the 9th : the 8th after 0.20, 7th after 0.40 , 6th after 0.60, .....
repeating this all the time even if i'm no longer in the trigger.i make a video with what i want that look like : (for the example i jump on a button :/ )
looks like K2000 front red light.
http://www.youtube.com/watch?v=6QOkSEXTjJwit will be nice if someone could help me.
Thank's a lot.
JO
hello all !
i'am jo from belgium and i'm trying to make round animation with panels when i walk through a trigger.
sorry for my bad english.
i'll explain you:
i have 9 pannels in line one beside the other and i would like animate repeatly those ones.
i would start to animate the 1st, after 0.20 sec the seconde, after 0.40 the third, .......
and comming back after the 9th : the 8th after 0.20, 7th after 0.40 , 6th after 0.60, .....
repeating this all the time even if i'm no longer in the trigger.
i make a video with what i want that look like : (for the example i jump on a button :/ )
looks like K2000 front red light.
http://www.youtube.com/watch?v=6QOkSEXTjJw
it will be nice if someone could help me.
Thank's a lot.
JO
Quote from Kasc on June 6, 2011, 12:45 pmThere are a few ways to do this, probably the easiest way is as follows (I don't know if there's a cleaner way to do this):
trigger_once/button/etc: Triggers a logic_relay which starts this whole process, e.g named relay_first
relay_first: Animates each panel in turn and then closes each panel, the last trigger is to enable a logic_timer, e.g named timer_reset
timer_reset: uses a refire interval of 0.2 seconds (from your post) and has the output, OnTimer relay_first Trigger, and OnTimer logic_timer Disable.
To stop the process you would have to send the input of Kill to timer_reset, if you want the animations to stop abruptly you could also Kill relay_first.
I hope that's what you meant, let me know if this isn't clear!
There are a few ways to do this, probably the easiest way is as follows (I don't know if there's a cleaner way to do this):
trigger_once/button/etc: Triggers a logic_relay which starts this whole process, e.g named relay_first
relay_first: Animates each panel in turn and then closes each panel, the last trigger is to enable a logic_timer, e.g named timer_reset
timer_reset: uses a refire interval of 0.2 seconds (from your post) and has the output, OnTimer relay_first Trigger, and OnTimer logic_timer Disable.
To stop the process you would have to send the input of Kill to timer_reset, if you want the animations to stop abruptly you could also Kill relay_first.
I hope that's what you meant, let me know if this isn't clear!
Quote from djokoss22 on June 6, 2011, 1:36 pmthank's Kasc ,
even i'm a beginer, i'll try to do this. it seems not so hard to do.if i have some questions about this, i'll be back asking you if i don't bother you...
thank's a lot !
JO
thank's Kasc ,
even i'm a beginer, i'll try to do this. it seems not so hard to do.
if i have some questions about this, i'll be back asking you if i don't bother you...
thank's a lot !
JO
Quote from djokoss22 on June 6, 2011, 9:32 pmOK , everything works fine thanks to you Kasc.
![]()
i just begin mapping and i never used logic_relay or others.Here is how i did:
9 mechanic arms 64x64 : arm_1 --> arm_9
9 "x" panels: panel_1 --> panel_9//to attach panels to arms//
create:
1 logic_auto with outputs:
OnMapSpawn - panel_1 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_2 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_3 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_4 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_5 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_6 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_7 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_8 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_9 - SetParentMaintainOffset - panel_attach - 0.00 - No//to animate arms with delay (i put 0.80 sec between the turn on and turn off of arm 9 to let it full opening before closing it) //
create:
1 logic_relay with outputs:
OnTrigger - arm_1 - SetAnimation - 90deg_out_cornerfront - 0.00 - No
OnTrigger - arm_2 - SetAnimation - 90deg_out_cornerfront - 0.10 - No
OnTrigger - arm_3 - SetAnimation - 90deg_out_cornerfront - 0.20 - No
OnTrigger - arm_4 - SetAnimation - 90deg_out_cornerfront - 0.30 - No
OnTrigger - arm_5 - SetAnimation - 90deg_out_cornerfront - 0.40 - No
OnTrigger - arm_6 - SetAnimation - 90deg_out_cornerfront - 0.50 - No
OnTrigger - arm_7 - SetAnimation - 90deg_out_cornerfront - 0.60 - No
OnTrigger - arm_8 - SetAnimation - 90deg_out_cornerfront - 0.70 - No
OnTrigger - arm_9 - SetAnimation - 90deg_out_cornerfront - 0.80 - No
OnTrigger - arm_1 - SetAnimation - 90deg_out_cornerfront - 1.60 - No
OnTrigger - arm_2 - SetAnimation - 90deg_out_cornerfront - 1.70 - No
OnTrigger - arm_3 - SetAnimation - 90deg_out_cornerfront - 1.80 - No
OnTrigger - arm_4 - SetAnimation - 90deg_out_cornerfront - 1.90 - No
OnTrigger - arm_5 - SetAnimation - 90deg_out_cornerfront - 2.00 - No
OnTrigger - arm_6 - SetAnimation - 90deg_out_cornerfront - 2.10 - No
OnTrigger - arm_7 - SetAnimation - 90deg_out_cornerfront - 2.20 - No
OnTrigger - arm_8 - SetAnimation - 90deg_out_cornerfront - 2.30 - No
OnTrigger - arm_9 - SetAnimation - 90deg_out_cornerfront - 2.40 - No//to repeat animation of all arms (i put 3.20 in refire interval to let 0.80 sec at arm_1 to let it full closing)
create:
1 logic_timer with Refire interval of 3.20 and output:
OnTimer - relay_1 - Trigger - 0.00 - Noand it works great !
a video to show you final animation :
Heoi2guJ7Assee you later and thank you one more time !
OK , everything works fine thanks to you Kasc.
i just begin mapping and i never used logic_relay or others.
Here is how i did:
9 mechanic arms 64x64 : arm_1 --> arm_9
9 "x" panels: panel_1 --> panel_9
//to attach panels to arms//
create:
1 logic_auto with outputs:
OnMapSpawn - panel_1 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_2 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_3 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_4 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_5 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_6 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_7 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_8 - SetParentMaintainOffset - panel_attach - 0.00 - No
OnMapSpawn - panel_9 - SetParentMaintainOffset - panel_attach - 0.00 - No
//to animate arms with delay (i put 0.80 sec between the turn on and turn off of arm 9 to let it full opening before closing it) //
create:
1 logic_relay with outputs:
OnTrigger - arm_1 - SetAnimation - 90deg_out_cornerfront - 0.00 - No
OnTrigger - arm_2 - SetAnimation - 90deg_out_cornerfront - 0.10 - No
OnTrigger - arm_3 - SetAnimation - 90deg_out_cornerfront - 0.20 - No
OnTrigger - arm_4 - SetAnimation - 90deg_out_cornerfront - 0.30 - No
OnTrigger - arm_5 - SetAnimation - 90deg_out_cornerfront - 0.40 - No
OnTrigger - arm_6 - SetAnimation - 90deg_out_cornerfront - 0.50 - No
OnTrigger - arm_7 - SetAnimation - 90deg_out_cornerfront - 0.60 - No
OnTrigger - arm_8 - SetAnimation - 90deg_out_cornerfront - 0.70 - No
OnTrigger - arm_9 - SetAnimation - 90deg_out_cornerfront - 0.80 - No
OnTrigger - arm_1 - SetAnimation - 90deg_out_cornerfront - 1.60 - No
OnTrigger - arm_2 - SetAnimation - 90deg_out_cornerfront - 1.70 - No
OnTrigger - arm_3 - SetAnimation - 90deg_out_cornerfront - 1.80 - No
OnTrigger - arm_4 - SetAnimation - 90deg_out_cornerfront - 1.90 - No
OnTrigger - arm_5 - SetAnimation - 90deg_out_cornerfront - 2.00 - No
OnTrigger - arm_6 - SetAnimation - 90deg_out_cornerfront - 2.10 - No
OnTrigger - arm_7 - SetAnimation - 90deg_out_cornerfront - 2.20 - No
OnTrigger - arm_8 - SetAnimation - 90deg_out_cornerfront - 2.30 - No
OnTrigger - arm_9 - SetAnimation - 90deg_out_cornerfront - 2.40 - No
//to repeat animation of all arms (i put 3.20 in refire interval to let 0.80 sec at arm_1 to let it full closing)
create:
1 logic_timer with Refire interval of 3.20 and output:
OnTimer - relay_1 - Trigger - 0.00 - No
and it works great !
a video to show you final animation :
Heoi2guJ7As
see you later and thank you one more time !
