X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=akamaru.c;h=76f00583bb58da68b926a761e224a6c1cf0fbffd;hb=05af0909cc976c183e82d8392107ef11d77bb4ec;hp=cc551436cd371449ec3a2f19ef7c9faf5559c1ed;hpb=4b4b752bb845106529d270b73419b97e11d595c2;p=akamaru diff --git a/akamaru.c b/akamaru.c index cc55143..76f0058 100644 --- a/akamaru.c +++ b/akamaru.c @@ -20,8 +20,8 @@ #include "akamaru.h" -const double elasticity = 0.5; -const double friction = 4; +const double elasticity = 0.7; +const double friction = 8; const double gravity = 50; void @@ -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;