Reply To: Help with instancing/duplication

Forum Archive Help with instancing/duplication Reply To: Help with instancing/duplication

#95739
Rikard Jespersen
Participant

    Hi again Martin. There are a few things you’ve done in the node tree that I don’t understand. I see  that they work, and what happens when I remove them. But I don’t understand the logic, and I want to know “how to think”.

    For instance, this:

    How did you come to the conclusion that you should divide the index to drive the factor?

    • If I understand correctly, the index references the individual points of the curve. The points created by the resample curve. And this operation here takes the index (integers between 0 and 5 if count is “6”. Then this is divided by the count. So, 0/6, 1/6 … 5/6.  
    • This results in data that can be used to make sure the horses are aligned correctly along the curve.  But I don’t understand what is happening. I do understand that we somehow get the rotation data from each point where a horse is instanced, and when we plug this into the rotate instances, it works. But I fail to understand how, so at the moment, I will not be able to draw this conclusion if I am faced with a similar problem that looks different.

    Then I had one more question, but as I wrote it, I figured it out. I leave it in, just in case I get confused again tomorrow :p

    • I didn’t understand how you came to this solution. But it struck me that the nodes before the combine XYZ are affecting every axis. So this node is needed to make sure the horses “don’t run away”. But instead stay in an up/down motion. 

    Again, thank you so very much for your help. It has been very helpful following your nodes.