Image:
Author: Livirus Group: Default Filesize: 41.15 kB Date added: 2009-05-05 Rating: 7.5 Downloads: 1839 Views: 2972 Comments: 10 Ratings: 9 Times favored: 1 Made with: Phun Tags:
|
Softbody using only attraction.
No hinges, no springs.
The ball has two parts. The core, and the coat.
Both the core and each coat segment contains 3 circles.
Core[1] - A, Collides with water (only for collision)
Core[2] - G, No Self collision, Attraction: 200000 (linear)
Core[3] - G, No Self collision, Attraction: -400000 (quadratic)
Coat[1] - A, Only for collision.
Coat[2] - G, Attracted to Core[2], Repelled by Core[3].
Coat[3] - F, Attraction: -2500 (quadratic).
Coat[2] is attracted by Core[2].
When Coat[2] is too close to Core[3], the Quadratic repelling force is greater than the Linear attracting force. In other words, Coat[2] is striving towards a set distance to Core[2,3].
Coat[3] is needed to separate the segments around the core, so they don't just cluster.
I've chosen to use a very small weight of the coat so that failing segments gets slowed down by air friction. That's why I needed huge numbers for attraction. |