I need to make chains of cubes end to end and i have managed to do it with recursion but it crashes above 400 recursions and loops can do 2000 iterations at least so i need to use a loop... i think i have to use multimatrix inside a loop :/ dont know how. am working on it.
Every next cube has to have the previous cube's rotation and position, but i need to translate it and rotate it by N angle.
I only know how to translate cubes as a function of the "i" loop value, i don't know how to copy a cube every loop onto the previous one and translate and rotate it?
Edited 6 time(s). Last edit at 08/20/2015 03:08PM by skynetprinter.
Attachments:
open |
download -
compil contlisa.jpg
(275.1 KB)