Hitnum accumulation

   3023   4   1
User Avatar
Member
36 posts
Joined: Jan. 2014
Offline
Hi,

I'm trying to have particles switch groups depending on the HITNUM variable. For some reason it resets itself and never get higher than 1.

Any idea what's going on??

Thanks!

Attachments:
Debris_1.hip (410.9 KB)

User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
For some reason it resets itself and never get higher than 1.
By default hit attribute, @hitnum, will be zeroed out before collision detection is performed.
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
There is two way (may be more) to fix this.
One is POPWrangle:

Attachments:
debris_1_POPwrangle_method.hip (397.7 KB)

User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
Second one is POP Collision Detect dop:

Attachments:
debris_1_POPCollisionDetect_method.hip (404.6 KB)

User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
You can also do this process using only POPWrangle without any popgroup and popcolor.

Attachments:
debris_1_Only_POPwrangle_method.hip (390.1 KB)

  • Quick Links