accumulative for loop translate
2919 6 0- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
I thought by moving the box in this file with $ZMAX every loop it would end up beside each other but it becomes accumulative..not sure why.. in the end I was planing to switch between boxes with different sizes making them stack nicley no matter the size because the $ZMAX would always move the the correct distance.
clearly I am wrong
clearly I am wrong
- Enivob
- Member
- 2536 posts
- Joined: June 2008
- Offline
- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
- blackpixel
- Member
- 182 posts
- Joined: April 2009
- Offline
It's happening because each iteration you offset an already offset box. If you chain multiple transform nodes with $ZMAX you get the same effect without the merging.
One way would be to fetch the geometry from the outside each time ( which you did in your second file ) or simply use $ZMAX - $ZMIN inside the loop instead.
One way would be to fetch the geometry from the outside each time ( which you did in your second file ) or simply use $ZMAX - $ZMIN inside the loop instead.
- MagnusL3D
- Member
- 1104 posts
- Joined: Aug. 2008
- Offline
- blackpixel
- Member
- 182 posts
- Joined: April 2009
- Offline
-
- Quick Links