Assign particles to certain meshes and change them with speed - 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: Assign particles to certain meshes and change them with speed (/thread-3726.html) |
Assign particles to certain meshes and change them with speed - dv2000 - 06-14-2023 Hi, is there anyway to glue ty particles to car tail lights. When car moves, the particles stop glowing, when stops particles glow like a brake light. So what should i use where particles change texture or ID when motion is detected among moving particles only? We have to use ty because all cars are copied as instant with the same instant texture. RE: Assign particles to certain meshes and change them with speed - tyFlow - 06-15-2023 You can use a Property Test to test for "position delta magnitude" (fancy way of saying 'the distance something has traveled in a single time step). Then use the Test Action rollout to save the test value to a custom float channel. From there you'd just make a setup that uses that value to change the particle depending on the distance traveled. Smaller distance = not moving, so that's when it would be in its "stop" state. You can also test for deceleration if you want the brake light to be enabled when the particle slows down. |