tyParticleSkin filter by MatID
#5
(03-01-2020, 05:03 AM)tyFlow Wrote: Can you post a screenshot or something of your setup just so I can get an idea of how you want to split up your tyParticleSkins? Just so I can see if there's not a better way...

Also particle groups are just bitflags, so technically as long as your particle matIDs overrides are between 1 and 15, you could convert matIDs into groups using  the Script operator with a line of code in your particle event for-loop like this:

Code:
tf.SetSimulationGroups(sInx, 1 << tf.GetMatID(sInx));

But I think if you've got a setup where matIDs are the most convenient way to filter particles for a skin, I could be convinced to add that as an option Smile

Woah, I didn't think of this solution. I appreciate the help, the script will do this! Thanks!

Now I think the simulation group filter is enough for the skinner  Smile
  Reply


Messages In This Thread
tyParticleSkin filter by MatID - by clasyc - 02-29-2020, 05:30 PM
RE: tyParticleSkin filter by MatID - by tyFlow - 02-29-2020, 11:08 PM
RE: tyParticleSkin filter by MatID - by clasyc - 03-01-2020, 12:23 AM
RE: tyParticleSkin filter by MatID - by tyFlow - 03-01-2020, 05:03 AM
RE: tyParticleSkin filter by MatID - by clasyc - 03-01-2020, 01:22 PM

Forum Jump: