Let say i have a grid 3 x 3 of plane objects. And when I move Empty object into center of the first Plane (upper-left), the blue color changes to pink and Text object (on side) change number to "4".

Note: The numbers displayed on planes are not gone be displayed in animation. I put them only on to show you order of planes (and numbering).

enter image description here

If I separate to steps:


I want to let planes to come from out of screen to grid position (in ascendent order-see screen). Like 4,5,6 one by one and then continue 7, 8, 9 and so on ... but with this node tree (Directional) in comes all row at once.

enter image description here


I want to control color of plane by position of another object. Like Empty object in plane location change color from blue tu pink.


I have text object next to planes that I want to let display a specific number from text editor list. (or in specific range like 4-12). Controled by the same object that controls color of plane. Ideally something like empty object howering over plane.

Thank you for help. I really try to get in, but it seems it takes ages to dive into this system.


First Question

You can use the Delay Falloff node to do the animation after sorting them by name, making sure that our objects are named by their number.

Node Tree 1

Second Question

What you need to do is check the max 1D distance (distance between components of vectors) to see if the empty is located inside the square or not, so a node tree like this works:

Node Tree 2

Third Question

In the same loop, you add a text input and reassign it to the object name if and only if the boolean we computed before was true, so a node tree like this works:

Node Tree 3

I didn't describe each in details because you seem like you know AN. However, if you want them in details, please ask.

  • $\begingroup$ Awesome, thanks man :) From the tree I see you use group of objects. There is a way to use AN to generate the grid or use one object and let AN separate faces (that I saw somewhere), so is it problem to controle order later? I have like 100 planes in a grid, so it can be a problem to change size distance or shape of each segment later. On other hand this system I can handle :) "Sort list" expression accepted only numbers right? So I will check some batch-remane addon for that. And if I understood you right, name of object is used for text object too. $\endgroup$
    – vklidu
    Nov 5 '17 at 21:58
  • $\begingroup$ @vklidu If you want to use the Distribute Matrix node to generate the locations of the grid, you can sort the matrices instead of the objects. See this answer to know how: blender.stackexchange.com/questions/92069/… $\endgroup$
    – Omar Emara
    Nov 6 '17 at 16:02
  • $\begingroup$ @vklidu Sort List node can sort texts as well, alphabetically I think. $\endgroup$
    – Omar Emara
    Nov 6 '17 at 16:17
  • $\begingroup$ First - works. Second - I'm stack in the Loop node. What parameter type to choose for "Empty Location" and "Length"? Since you renamed it to better understand the purpose I'm out what to choose from parameter list. For Colors (Yes/No) parameter I took "Color", right? Third - what is the node "Reassign Loop Parameter" that I don't know how to create? $\endgroup$
    – vklidu
    Nov 7 '17 at 16:43
  • $\begingroup$ @vklidu Empty Location is a vector and Length is a float. In the advanced node settings of the loop input node, you will find a list of inputs with "Add Reassign" next to the "text" input. That's how you add the reassign node. To show the text as output check "output" from the same place. $\endgroup$
    – Omar Emara
    Nov 7 '17 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.