tyFlow Forum
Find target by texture values - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Find target by texture values (/thread-2800.html)



Find target by texture values - swihartc - 12-10-2021

Hey all, question:

I have a black and white map of the globe on a sphere.  I want some floating particles over time to "find target" based on either 1 or 0; doesn't matter as I can invert map.  
So far the globe and particle actors align properly, but they do it randomly instead of texture values.  
I tried to trick particles by creating a TM custom properties in 1 event and loading it in as a 'Find target' TM, but that didn't work either.  

Is there an easier way I'm overlooking or am I on the right path, but just haven't hit the correct combination of operators?

In the flow:
1. I set up the TM event and set custom properties TM as target position.
2. I tell event to get TM info
3. I tell it to find the target.
4. I have tried all sorts of combinations of loading the TM data but no go.

Ok, so then I played with "set target" again with a few different combinations and it works this time.  So I was half way there, just didn't do the right operators find how to have particles find random particles.


RE: Find target by texture values - tyFlow - 12-10-2021

Looking at your edit, it seems like the problem is solved?


RE: Find target by texture values - swihartc - 12-10-2021

(12-10-2021, 09:08 PM)tyFlow Wrote: Looking at your edit, it seems like the problem is solved?

Yeah, I got something to work as intended.  Is that the best way to have solved it or is there an even easier way?