- Home /
is it possible to add verticles to an interactive cloth at run time ?
the interactive cloth is a great tool and i was wondering if its possible to create a infinitely long piece of cloth (even tough that would be insanely expensive) simply by adding more verticles to it at run time or if the mesh used by the cloth needs to be predefined ,also would it is possible for the mesh to remain closed and to have internal air pressure
Answer by Justin Warner · Apr 13, 2011 at 10:46 PM
Highly doubt that's possible...
However, a lil thing you could do, is make a "model" of a plan that kinda thins out, to give it an illusion of being really long, then just have it move with the player... I'd assume this could work, and wouldn't be nearly as expensive...
Just a suggestion though! =). Good question though.
i wasnt really thinking about making it look really long simply that if you can add 1 triangle you can add 1000 , but ill just do pretty much what ypu sugested , making long enough line made of tri's before hand , only problem is i wanted it to come out of something so i guess i could fold up the mesh to a tight acordeon shape since i cant generate it as it comes out , it would make a really cool toy to have a mash you can make more of by pulling on it
I really can't think of a way you could do this... Like... maybe if you made a script that auto connected vertices, than you can just spawn another cloth, and add the verts on one side, then just have that happen... but even then... Wouldn't be easy I'd expect... Good luck though!
well , to add verticle i ad found a script on the wiki the does just that and i was thinking of using it to generate the mesh of the cloth
here's the link http://www.unifycommunity.com/wiki/index.php?title=CreatePlane
Your answer
Follow this Question
Related Questions
How might I measure the total area of a mesh during displacement? 1 Answer
Cloned interactivecloth not acting like original interactivecloth. 0 Answers
Interactive cloth not working correctly 1 Answer
Accessing the amount of tear in a interactive cloth. 1 Answer
Interactive cloth, jittering when attached to a moving object 4 Answers