Hello,
Just trying out my first wiggly steps here
I'm wondering how to use the switch node in conjunction with the collision node? I would like the particle to switch from being a point to a instance geometry when the collision happens.
Perhaps I'm trying out the wrong thing here, but I though that I could use the ‘collision’ nodes ‘hit’ as a trigger to switch the index.
Anyhow, a bit lost and would appreciate some help on my way.
best regards
stefan andersson
using switch and instance parameter
2747 2 2- StefanA
- Member
- 51 posts
- Joined: Oct. 2019
- Offline
- xtimmyx
- Member
- 166 posts
- Joined: Oct. 2008
- Offline
Tjenare
Are you using the instance POP to get the geometry instanced or are you trying to instance the geometry at SOP level using a Copy SOP? I usually prefer the later but if your trying with a instance POP then try the following approach:
Make the collision POP add an attribute to the particles which has collided.
Create a group from the collided particles.
Instance the geometry onto that group.
I've attached a sample hip file.
Are you using the instance POP to get the geometry instanced or are you trying to instance the geometry at SOP level using a Copy SOP? I usually prefer the later but if your trying with a instance POP then try the following approach:
Make the collision POP add an attribute to the particles which has collided.
Create a group from the collided particles.
Instance the geometry onto that group.
I've attached a sample hip file.
- xtimmyx
- Member
- 166 posts
- Joined: Oct. 2008
- Offline
-
- Quick Links