- Home /
How do you make a fluid, net-like substance?
In Unity there are colliders and all which is great. But how do you make a net like substance that can enlarge and shrink?
For example, something like a fishing net (enlarges when objects go in it).
Answer by jonas-echterhoff · Jun 21, 2010 at 08:50 AM
Basically what you need is some sort of cloth physics simulation. That would mean, you'd either have to make your own using scripting (not trivial at all), or wait for Unity 3.
@$$anonymous$$ikezNesh, when @jonas says not trivial, he means it could take dozens of hours ($$anonymous$$imum) to get a working script. What you're asking is complex... You could try asking in the Collaboration forum for help, but it's a lot of work to expect people to do. Forums at: http://forum.unity3d.com/viewforum.php?f=11
Answer by MikezNesh · Jun 24, 2010 at 06:51 AM
I found an open-sourced script here.
http://www.unifycommunity.com/wiki/index.php?title=SoftBody.cs
Answer by Ashkan_gc · Jun 21, 2010 at 07:01 AM
you can scale the object or just create different frames for a model with different sizes as animation.
That isn't what I meant. I don't mean how do I scale... I mean how to add a GameObject that will change like a net. If you add stuff in it, it will stretch and if you take stuff out it will shrink.