WHY IS EVERYTHING SO SLOOOOOW!?!?!?!?!?

Shouldn't this make a box that goes really fast to the right?

It doesn't!!! 😈 ❓ 😢 🙁

Code:
var b:b2Body;
var bd:b2BodyDef = new b2BodyDef();
var sd:b2PolygonDef = new b2PolygonDef();
sd.SetAsBox(10, 10);
sd.density = .1;
sd.friction = .5;
sd.restitution = .5;
bd.isSleeping = false;
bd.angularDamping = .2;
bd.linearDamping = .2;
bd.position.Set(-400, -200);
b = _sim.world.CreateBody(bd);
b.CreateShape(sd);
b.SetMassFromShapes();
b.SetLinearVelocity(new b2Vec2(400000000000000000000000000000000, 0));


How can I apply massive force to something, so I can make things like explosion effects? There has to be some way. I can't seem to breach 200 on the linear velocity of any object, at least by directly setting it. Only way is by collision of heavy objects under gravity.

What am I doing wrong!?

-B
Check the b2Settings file - that has a max linear velocity setting that you can alter.

But you shouldn't need to. 200 m/s is more than half the speed of sound, which should be plenty fast, even for most bullets (in a game, at least).

If things look slow to you, you're probably using pixel units, which you shouldn't be. See http://www.box2d.org/wiki/index.php?tit ... ters_units for info on this or search the forums.
You just made my day. Thank you. But now I feel like a monumental ignoramus.

"Hmm physics in meters!? Who'd use that!?" 🙄

Cheers,
-B

Original thread: https://box2d.org/forum/viewtopic.php?t=1190