wells where too strong, halfed effect
authorPatrik Gornicz <Gornicz.P@gmail.com>
Fri, 22 Aug 2008 02:11:46 +0000 (22:11 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Fri, 22 Aug 2008 02:11:46 +0000 (22:11 -0400)
src/Effects/GravityWell.cpp

index 68afa27..e3ab469 100644 (file)
@@ -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;
 }