moai/moai-beta — pull request #25 by harningt (2012-01-09 02:59:40+00:00)
Title: Box2d fixes

Many fixes to unit handling (the necessary units for torque were derived both experimentally by testing various scaling factors and taking what "should" be used for torque units (Newton-Meters => kg * m / s^2 * m)

Also changed were unifying motorized joints (added setMotor and setMotorSpeed where needed), and fixing some off-by-one errors in Lua access code.

Let me know if I need to sign the code contribution agreement. I think I'll be contributing a bunch :) Easy to enhance the code.