Bodies not moving?

I'm trying to use Box2D in a game I'm making. I can't get my box to fall though, and I've checked the stuff in the other threads (mass isn't 0, and the body is inside the boundaries.)

Here is the relevant code.

Creating the world:
Code:
        worldAABB.minVertex.set(0, 0);
        worldAABB.maxVertex.set(width, height);
        Vec2 gravity = new Vec2(0f, -10f);
        pworld = new dynamics.World(worldAABB, gravity, true);


Adding a box:
Code:
        bd = new BodyDef();
        sd = new BoxDef();
        sd.density = 1;
        sd.friction = 0.5f;
        bd.addShape(sd);

        //Some game-specific functions, but this part is definitely working
        bd.position = getVec2DProperty("Position").toVec2();
        sd.extents = getVec2DProperty("Size").toVec2();


Stepping the simulation, and some debug stuff I added:
Code:
    public void doPhysics()
    {
        for (Body b = pworld.m_bodyList; b != null; b = b.m_next) {
            System.out.println(b.m_position);
        }
        pworld.step(1/60, 10);
    }


Thanks to anyone that knows the answer.
As far as I can tall, you're not stepping the engine. You need to do something like (in actionscript3):
Code:
for (var i:Number = 0; i < 60; ++i)
{
    world.Step(timeStep, iterations);
    var position:b2Vec2 = body.GetPosition();
    var angle:Number = body.GetAngle();
    trace(position.x +','+ position.y +','+ angle);
}


That should print the new positions. If you have debug drawing 'on', you should see the shape moving too. If not, you should adjust your box's position according to the new position.

That snippet is from the manual (actionscript):http://www.box2d.org/wiki/index.php?title=Manual/AS3
The last function, doPhysics, is called in a while loop. Sorry if I wasn't clear enough.
What does 1/60 equal on your platform. On most, it's 0.
Actually, I just figured that out a while ago, should have been 1/60f. Thanks though!
Yeah, it was clear enough jacob. I guess I wasn't 😮
Thanks BorisTheBrave, I just had this problem too.

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