diff ships/ship.d @ 32:741313c302ed default tip

updated demo
author zzzzrrr <mason.green@gmail.com>
date Mon, 06 Apr 2009 23:39:59 -0400
parents 1cd0d4c7258e
children
line wrap: on
line diff
--- a/ships/ship.d	Mon Mar 30 17:44:54 2009 -0400
+++ b/ships/ship.d	Mon Apr 06 23:39:59 2009 -0400
@@ -112,7 +112,7 @@
     void setPlanetGravity() {
         float minRadius = 0.1;
         float maxRadius = 10;
-        float strength = 0.75;
+        float strength = 2.5;
         bzVec2 center = bzVec2(0,0);
         auto attractor = new bzAttractor(rBody, center, strength, minRadius, maxRadius);
         world.addForce(attractor);