From: Patrik Gornicz Date: Fri, 22 Aug 2008 02:11:46 +0000 (-0400) Subject: wells where too strong, halfed effect X-Git-Tag: v0.07~40^2 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=f136ae89d29edb096a65d428300808650f5a32fe wells where too strong, halfed effect --- diff --git a/src/Effects/GravityWell.cpp b/src/Effects/GravityWell.cpp index 68afa27..e3ab469 100644 --- a/src/Effects/GravityWell.cpp +++ b/src/Effects/GravityWell.cpp @@ -44,7 +44,7 @@ Vector2 GravityWell::forceDelta(const PhysicsEntity* e, float) const Vector2 acc(0,0); if( sqrDist > 0.5F ) - acc += delta / sqrDist * mass; + acc += delta / sqrDist * mass / 2; return acc; }