Other Test values in Property Test
#1
Would be great to have extra control like "Test TRUE if property is between X and y" or a couple of numbers separated by comma, like "1,3,10,20".

There was a Data Preset with Pflow where you could delete by ID, I used that quite often, when I had rogue particles messing with my sim, so I could just delete them.

Probably doesn´t make sense for all Propertys, but for BirthID it would be great to have.

Also it took me a while to figure out, why I couldn´t simply spawn new particles on the inside faces of voronoi frags by giving those faces a different MatID and then using property test set to that Mat ID and send that info out to a second event with spawn...

Because of course the property test op tests the MatID of the particles in the event, so since the particle have diferent IDs for their different faces, it wouldn´t return an exact value and just send that value out...
So, not a solution, merely an observation of where my thinking gets stuck with these tests...Wink
  Reply
#2
I think adding a syntax parser like that for the property test is a bit overkill...you can always use a script operator to input whatever logic you'd like.

And yes, the property test only tests matID overrides on particles...not matIDs of geometry assigned to them. Right now there's no way to spawn particles on inside faces of voronoi chunks within the same flow. You can always create a second flow and make the first flow a position object source though...then you'll get your desired matID controls. Just remember to add a mesh op in the first flow and turn off 'render only'.
  Reply
#3
Also makes sense to spawn separate particles on inside faces for a physx sim, so they don't directly influence the big chunks and push them around...

As for the property test... Well. I just get knots in my brain when I try scripting...Always wanted to learn maxscript, but I can't learn under deadline stress and once I do have free time there are just too many other things I wanna do. . Smile

I might still get into it once there are a couple more examples out there or some tutorials. 
Or maybe some basic scripts for the script op could be made as presets...
  Reply


Forum Jump: