- Home /
Scaling cloth during runtime?
Hi!
How can i scale an Interactive Cloth during runtime? Is it possible? Scaling the object itself does not work :(
Kind regards!
Answer by nitz · Mar 14, 2012 at 09:28 PM
I had this same issue just today, and couldn't find the answer on the web. I found a solution, albeit quite inelegant.
After you change the scale of the GameObject that the InteractiveCloth is attached to, change the tearFactor. (I'm using 0 as mine, so I just set it to 1 then back to 0.)
This causes the simulation to restart, and when it does, it will take the new scale into account.
Cheers
Your answer
Follow this Question
Related Questions
Binding Cloth to hang from ceiling 2 Answers
Interactive Cloth Glitch? 2 Answers
problem with interactive cloth 1 Answer
How to use Clothing 0 Answers
How to prevent the cloth sim from breaking after changing the transform.parent of an ancestor 0 Answers