![]() |
move to most far - 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: move to most far (/thread-3620.html) |
move to most far - Saca - 04-08-2023 hi, plase tell me how to move particles to most far mesh-face. closest or neighbour is very popular, but that's option is not fit this scene. example, the particles birth on cylinder geometry. FindTarget(Random) make particles move to random target face on the same cylinder-geo. but it is moving far or near randomly. i want to move particles most far, to say in other words, move to opposite side cylinder face . thanks i have tried check mesh to get most far vertex (point3) with C# script. but I got customVector(target) that is [0,0,0,] all particles. ![]() Code: public void simulationStep() RE: move to most far - tyFlow - 04-11-2023 You need to set the custom vector on sInx, not 0. |