         ,    , ,  ...  ,   ,         .              .   ,      .  -  .      .   ,             (     ).
        soft body  .  ,     , ,  , .
Let's Get Started...

      ,         .    :
-    frame based , ..        ,       1.
-    (  - ,     .),     ,              ,    .
-          - ,       .

   -        ,   ,         .  ,     -     .           ,       .

,     -   VVector2D (..       ,        V   . ,        -    ).      - ,   ,          ,   dotProduct() -   .

dotProduct(vector:VVector2D):Number
{
	return _x * vector.x + _y * vector.y;
}

         .     ,        :
dotProduct = |a|*|b| * cosA,  |a|  |b| -  .
          -     0,      ,   0,   ,   0,  .
             -       .      (..    1),  dotProduct     .

[ pic1]
   ,        a    n.      .

    Particle.  ,        .    -    ,  (   , ..  1   -    ), .       .         -     .

  .
Gravity -  .    -        .     1   , ..   VVector2D(0.0, 1.0).       .
Drag -   .             .     0.1.       .
AnchoredSpring -  .   .      ,         .      .    :
F = k * x,
 k -     stiffness.
x - ,     . ..  -         -   rest length.             .     x.
         damping.
   -           .

            .   :    EulerIntegrator -    .     -  ,          .  ,          .

       ,      .    ,     -  ,     ,    .        ,   ,             .   - ,      ,        ,        ..
      :
-        .
-    -   Verlet.

       -     .  ,   !