why does my code not affect the first array item?

Continuing on my array exercise, I made a 2nd mesh array, mapped a sin function to the size attribute of the meshes, but I have no idea why the first item doesn't get resized. Got a feeling it's something really obvious but I somehow missed.

Here's the code (also attached the canvas file):

Best Answer


  • imdingimding Posts: 16
    edited September 2016

    Thanks for point that out for me, and yea that should've been pretty obvious XD

    Another mistake is that I created the cube before I set new values for the Xfo newPos, once I changed 'i' back to zero the first and second items stacked. Here's the new canvas file for anyone who's a beginner like me.

Sign In or Register to comment.