I want to populate a target surface with a plane to plane transformation using provided blocks.Its an attractor system .
The code fails in step 4, when its about to transform using the corresponding block.
As far as I see the scale values are correct,also the remapping works correct.
My procedure is as following:
- //Get aim lenghts ,dividing the target surface
2)// get the blocks, make a bBox measure the length of two sides(x and y) to be able to scale the block to
3)// remapped the list to integers to be able to choose the block by index
4)// insert the blocks using the integers from the remapped list to choose which
Thanks everybody, I hope its not too much lines or to unorganized for you to review.If you want I will truncate it.Thanks!
Have a nice day!