scale matching with proximity ojects - 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: scale matching with proximity ojects (/thread-1235.html) |
scale matching with proximity ojects - savat - 10-26-2019 Hi Tyson, is possible to use the proximity option in scale node to manipulate a scale value to perfect matching with a spline (please, look at the attached file)? Is it possible using wire parameters? if so, is possible to implement a similar option in the proximity rollout? RE: scale matching with proximity ojects - tyFlow - 10-26-2019 Hi Savat, The Scale operator can't do that by default, but you could easily achieve that with the Script operator. Just cast a ray from your particle position to the spline, get the distance, and set the Z-axis of each particle's scale to the distance value. Make sure your input shape has a height of 1 for this to work, or else you'll need to divide the resulting distance by the height of your shape. Attached is a scene file showing how it's done. Note that the effect won't work if the raycast doesn't hit anything, so make sure all particles are beneath a part of the spline. RE: scale matching with proximity ojects - savat - 10-27-2019 (10-26-2019, 04:04 PM)tyFlow Wrote: Hi Savat, Really appreciated Tyson, I'm not a maxscripter and I know tha's a great limitation so...I'll study your script and hope to see more axamples about this operator. A future sectioned forum could contain this and other type of discussion per argument (scripts/crowds/cloth...). Bwt thanks again and good sunday. Edit 01: what I need to do to see the script in action? nothing seems to scale moving helpers. Edit 02: works well with version 55. |