Search the Community
Showing results for tags 'for-loop'.
Found 2 results
KlausK posted a topic in General Houdini QuestionsHello everybody This is my first post and it is about a topic which has been scratched over and over it seems... But after a lot of tutorials, searching and studying many threads here on odforce I cannot for the heck of it get my head around this and find a solution. In fact I was following a tutorial for HOU.14.x which brought me to this. But the For-loops have changed so I only managed to get this far. HOU.17.5.258 here. As the topic title says: "Tubes on terrain crawling through each other instead of over each other" is what I want to be happening. I tried to use a "creep", a "each" another "for each" to no avail. I would very much appreciate if someone could alter my attached file with the solution, so I can study that. Meanwhile, I`ll go on reading and trying to understand what is going on in my scene. Thank you very much in advance. CHeers. k_skinned_tubes_on_terrain_overlapping_0.hip
I am working on a way to place packed primitives (sphere) onto a point cloud one at a time, detect if there is a collision and shrink the object until there is no collision. I have attached a file I am working on. Currently the scale is set to the iteration of the loop but does not seem to work correctly. For collision I am using the intersection node on feedback of the first for-loop and setting a detail attribute Collision to the just added sphere and from there setting a stopping value for the for-loop is attribute exists. The internal for-loop is then merged into the first and the cycle continues until all the points are filled. Am I going about the right way of setting this up? For-Loop_Intersection.hip