Have scattered points move from one letter to another

   1478   2   1
User Avatar
Member
7 posts
Joined: Nov. 2018
Offline
hi,

I'm new to houdini, and I have a few basic questions:
so, I would like to generate a number of particles on the letters of a word, and then have them move to a new position on a second word with the same number of letters.

my question:
- what's the best way to achieve this? it feels like I would somehow have to create a vertex attribute with the index of the letter the particle is on, and use that to find the destination coordinate on the second word. then I'd be able to interpolate between start and end position based on the current frame. — I'm just not sure how exactly to do that.

bonus question:
- is there a way to store the text string and the number of scatter points in a single place / variable so that I don't have to change it in multiple places?

thanks a lot in advance!
Edited by papedipupi - Nov. 19, 2018 13:17:24

Attachments:
Screenshot 2018-11-19 at 09.41.18.png (2.0 MB)

User Avatar
Member
2658 posts
Joined: June 2008
Offline
This is typically done with goal points. Create two sets of scatter points, one in the source geo and one in the target geo. The scatters should have the same count. Then assign the target points as a goal point attribute on the initial source points. Inside the popnet1 drop down a PopSeek and assign the goal point as the point the source point should seek. Play around with the braking options to adjust the overshoot.
Edited by Enivob - Nov. 19, 2018 13:55:17

Attachments:
ap_source_seeks_target.hiplc (327.3 KB)
seek_goal.gif (749.6 KB)

Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
7 posts
Joined: Nov. 2018
Offline
awesome! thank you, @Enivob
  • Quick Links