Is a way to Detect what Cd of surface that particles hit?
647 2 1- a591280714
- Member
- 14 posts
- Joined: 9月 2022
- Offline
- play_w_madness
- Member
- 9 posts
- Joined: 8月 2016
- Offline
If your collisions are handled by a popsolver, there are options in the Collision Behavior tab of the popsolver, to add prim and UV attributes on hit.
With those attributes you can sample any attrib from the hit surface using primuv function in VEX: https://www.sidefx.com/docs/houdini/vex/functions/primuv.html [www.sidefx.com]
With those attributes you can sample any attrib from the hit surface using primuv function in VEX: https://www.sidefx.com/docs/houdini/vex/functions/primuv.html [www.sidefx.com]
- a591280714
- Member
- 14 posts
- Joined: 9月 2022
- Offline
play_w_madnessHi, play_w_madness, Thank you for reply. Another problem here, How to detech which geo particles hit? I wanna group particles based on specific geo particles collide with.
If your collisions are handled by a popsolver, there are options in the Collision Behavior tab of the popsolver, to add prim and UV attributes on hit.
With those attributes you can sample any attrib from the hit surface using primuv function in VEX: https://www.sidefx.com/docs/houdini/vex/functions/primuv.html [www.sidefx.com]
Edited by a591280714 - 2023年9月16日 05:47:30
-
- Quick Links