diff urQuan.d @ 7:2217fd1fe384

added angular and linear velocity limit
author zzzzrrr <mason.green@gmail.com>
date Sat, 21 Mar 2009 19:34:20 -0400
parents eb6059f7035a
children 4ee9e4a0c03b
line wrap: on
line diff
--- a/urQuan.d	Sat Mar 21 16:42:08 2009 -0400
+++ b/urQuan.d	Sat Mar 21 19:34:20 2009 -0400
@@ -47,10 +47,11 @@
 
         super(world);
         auto bodyDef = new bzBodyDef;
+        //bodyDef.isBullet = true;
         bodyDef.position = bzVec2(10,5);
         bodyDef.allowFreeze = false;
         rBody = world.createBody(bodyDef);
-        float density = 2.0f;
+        float density = 5.0f;
 
         // Head
         auto head = new bzPolyDef;