From: Patrik Gornicz Date: Fri, 22 Aug 2008 02:11:46 +0000 (-0400) Subject: wells where too strong, halfed effect X-Git-Tag: physics-premerge~137^2 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=commitdiff_plain;h=f136ae89d29edb096a65d428300808650f5a32fe;p=libbear.git 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; }