tyFlow Forum
tyflow gets the distance between two particles - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Feature Requests (https://forum.tyflow.com/forum-4.html)
+--- Thread: tyflow gets the distance between two particles (/thread-2869.html)



tyflow gets the distance between two particles - feitianw - 01-22-2022

tyflow 获tyflow gets the distance between two particles取两个粒子之间的距离


RE: tyflow gets the distance between two particles - tyFlow - 01-22-2022

You can do it with a Script operator, or set Particle A's target as Particle B and then measure the distance with a Property Test (distance to target mode with save values to float channel enabled).


RE: tyflow gets the distance between two particles - feitianw - 01-24-2022

I need to use Wire Parameters
For example, the distance between two particles is 500, and the height of a box object is 100
changes with distance


RE: tyflow gets the distance between two particles - tyFlow - 01-25-2022

You can use a script controller on your box height value and then use regular MAXScript access to tyFlow particles to do the calculations.

See:

https://docs.tyflow.com/tyflow_maxscript/