Hi. I'm still struggling with some basic concepts in Houdini.
I was playing with POP Collision Detect node and the node adds several collision attributes to particles - like hitnml, hitpos etc. What are my options of accessing and using these attributes? What I would like is to use hitnormal *(hitnml) attribute in POP Replicate to set initial velocity for new particles. Is this even possible?
Thanks
Using particle collision attributes
6578 7 1- rendereverything
- Member
- 47 posts
- Joined: 3月 2014
- Offline
- rendereverything
- Member
- 47 posts
- Joined: 3月 2014
- Offline
- mawi
- Member
- 242 posts
- Joined: 1月 2008
- Offline
kurzemnieks
Currently the only solution I found is by using POP Wrangle and setting @v to v@hitnml there. As Pop wrangle is executed every frame, i'm doing age check - if (@age < 0.05) and setting @v only then. Is there any other solution to make POP Wrangle to set @v only once - when the particle is born?
I think there is a “just born group” or “born group” in the replicate POP.
This group contains the particles spawned on current timestep.
Then just set the wrangle node to operate on that group only.
Sorry I cant set up a file at this moment.
- rendereverything
- Member
- 47 posts
- Joined: 3月 2014
- Offline
- rendereverything
- Member
- 47 posts
- Joined: 3月 2014
- Offline
- mawi
- Member
- 242 posts
- Joined: 1月 2008
- Offline
- rendereverything
- Member
- 47 posts
- Joined: 3月 2014
- Offline
- xukca
- Member
- 50 posts
- Joined: 7月 2013
- Offline
-
- Quick Links