n4gix
Resource contributor
- Messages
- 11,674
- Country
I need some ideas on how to script an XML loop such that it will loop in a count of 10, but with controllable starting and stopping values.
I have a 'vibration' node that is currently 40 frames long. I need to loop between 0 - 9, but be able to slide the start/stop variables upwards, thereby shifting the range all the way to 31 - 40. Each "block" of 10 frames has decreasing periods of oscillation so that at the highest range the 'vibration' has smoothed out to a steady but subtle vibration.
I'm thinking to modulate this 'vibration node' via throttle levers. Here is a simplified diagram.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ... 41
|______________| ----->
As the start/stop vars increase, the animation block will gradually increase from 0/9 until it reaches 31/40
I have a 'vibration' node that is currently 40 frames long. I need to loop between 0 - 9, but be able to slide the start/stop variables upwards, thereby shifting the range all the way to 31 - 40. Each "block" of 10 frames has decreasing periods of oscillation so that at the highest range the 'vibration' has smoothed out to a steady but subtle vibration.
I'm thinking to modulate this 'vibration node' via throttle levers. Here is a simplified diagram.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ... 41
|______________| ----->
As the start/stop vars increase, the animation block will gradually increase from 0/9 until it reaches 31/40
Last edited: