Random objects copied into a curve length

   1249   1   1
User Avatar
Member
5 posts
Joined: Oct. 2018
Offline
Hi all, I'm pretty new to Houdini but I've been trying to learn it for a bit now and have been stumped on a problem. I'm trying to make a random set of objects fit inside of a curve. I first started with a copytopoints but that didn't work well for different size assets and it also didn't do any sort of checking for going outside the end points of the line. Then i tried doing a path deform trick but that relies on a larger mesh being path deformed and also ran into the problem where it can blow past my end points. Any help on techniques or things to look up is appreciated. Thank you!

Attachments:
houdini_fit.png (92.9 KB)

User Avatar
Member
216 posts
Joined: Oct. 2015
Offline
Hi, theoretically you probably can add one by one object (randomly A, B or C) if the rest length of curve is longer enough.

For the method there can be several approaches but you can also do everything in vex.
Sorry to not take time to elaborate a more precise solution.
  • Quick Links