取消
显示结果 
搜索替代 
您的意思是: 

n=n-1

This may be an obvious question, but I just can't seem to wrap my mind around it. Besides using a formula node, is it possible to initialize a variable in a while/for loop so that you can increment/decrement it to whatever you like. So far, I have simply wired the iteration variable (i) but because it is always initialized to 0 and it only increments, I do not believe I can use it. What I would like the variable to do is to increment to a max number and once it reaches it, to start decrementing to a min number and then increment again and so forth, basically I want the variable to oscillate between the two max and min values.

Thank,

nilak
0 项奖励
1 条消息(共 3 条)
3,231 次查看
here is something i wired up real quick... i needs a litle work but it will get you started...

Dan
2 条消息(共 3 条)
3,226 次查看
Wow, that was quick. Great help, thanks!!!!
0 项奖励
3 条消息(共 3 条)
3,212 次查看