diff --git a/source/abstract/Physical.cpp b/source/abstract/Physical.cpp index 20f86e3..e751ef4 100755 --- a/source/abstract/Physical.cpp +++ b/source/abstract/Physical.cpp @@ -45,6 +45,7 @@ Physical::Physical(const PhysicalData& data) : fixtureDef.filter.categoryBits = data.category; fixtureDef.filter.maskBits = ~data.maskExclude; fixtureDef.restitution = 0; + fixtureDef.density = (data.bullet) ? 0 : 10000; mBody->CreateFixture(&fixtureDef); }