I haven't committed them to SVN yet, but the latest Box2D source has some changes to the API.
b2World.DoStep() changes to :
Note that this separates the iterations into separate for velocity and position. I expect this allows you to fine-tune the engine somewhat.
In joints, the GetReactionForce() and GetReactionTorque() now include a delta-time parameter, which you can apparently use to get more accurate readings for a given point in time.
The DoStep() change will break your code. According to the docs :
I'll let you know when I upload the changes :-)
b2World.DoStep() changes to :
Method DoStep(timeStep:Float, velocityIterations:Int, positionIterations:Int)
Note that this separates the iterations into separate for velocity and position. I expect this allows you to fine-tune the engine somewhat.
In joints, the GetReactionForce() and GetReactionTorque() now include a delta-time parameter, which you can apparently use to get more accurate readings for a given point in time.
The DoStep() change will break your code. According to the docs :
The suggested iteration count for Box2D is 10 for both velocity and position. You can tune this number to your liking, just keep in mind that this has a trade-off between speed and accuracy. Using fewer iterations increases performance but accuracy suffers. Likewise, using more iterations decreases performance but improves the quality of your simulation.
I'll let you know when I upload the changes :-)