X-Git-Url: https://git.cworth.org/git?p=akamaru;a=blobdiff_plain;f=akamaru.c;fp=akamaru.c;h=c667c371fade45e09ca49cdd274e177723dc9e1d;hp=cc551436cd371449ec3a2f19ef7c9faf5559c1ed;hb=b70eba22906b666c8038c1d10bc0663489622fe0;hpb=4b4b752bb845106529d270b73419b97e11d595c2 diff --git a/akamaru.c b/akamaru.c index cc55143..c667c37 100644 --- a/akamaru.c +++ b/akamaru.c @@ -20,7 +20,7 @@ #include "akamaru.h" -const double elasticity = 0.5; +const double elasticity = 0.7; const double friction = 4; const double gravity = 50; @@ -435,7 +435,7 @@ model_step (Model *model, double delta_t) model_accumulate_forces (model); model_integrate (model, delta_t); - for (i = 0; i < 2; i++) + for (i = 0; i < 20; i++) model_constrain (model); model->theta += delta_t;