Accessing POP collision data in copy stamp expressions

   1290   2   1
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
I haven't fully wrapped by head around the way variables are passed in a SOP network, I'm having trouble accessing POP collision data for use in a copy stamp expression. I'm trying to switch geometry at collision with the hitnum attribute. Any tips?
User Avatar
Member
2539 posts
Joined: June 2008
Offline
Here is one way to handle this. When the hit total is 0 the particles are soccer balls. Once the hit total is greater than zero they are teapots. The switch is being stamped by the new i@switch_index attribute the wrangle has created.

Attachments:
ap_dop_switch_on_hit.hipnc (279.6 KB)
Screen Shot 2015-10-26 at 4.09.32 PM.png (452.0 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Thanks for the tip, that does the business
  • Quick Links