Continuously Test and Switch Material IDs based on Surface Test
#1
Hi guys, 

I would like to sweep a change of material ID through my array of voxel -generated particles so that I can swish the effect back and forth several times. 

What I have found is that I can move [Box 1] through the particles and it will change their material ID to 2 quite nicely.

I then move [Box 2] through and it will switch them back to 1 again.

It works pretty well for the first two cycles, however however when I try to move [Box 1] through again I expected it to run the test again, however materials will not switch  - here's a screencap of the materials switching very nicely, then refusing to change:

https://youtu.be/tSRP18v8n2c

My tyflow setup looks like this :

[Image: 0NHRfIi.jpg]

I have tried a few different methods - at the moment the only thing that might do it is daisy chaining multiple tests for Box 1 and Box 2. I do have the timing for the tests set to "continuous" which I assumed would apply them on a per-frame basis, but I am not sure.

If anyone is generous enough to look at the MAX file, it's here: 

https://www.dropbox.com/scl/fi/9n5dqes2l...qdol7&dl=0

Thanks

Chris
  Reply


Messages In This Thread
Continuously Test and Switch Material IDs based on Surface Test - by christierney - 02-28-2024, 03:01 PM

Forum Jump: